Common base class for all dynamic arrays.
Common base class for all dynamic arrays. Class GArrayTemplate implements all methods for manipulating arrays of type TYPE. You should not however create instances of this class. You should instead use class GArray, GTArray or GPArray.
int lbound() const
int hbound() const
inline TYPE& operator[](int const n)
inline const TYPE& operator[](int n) const
operator TYPE* ()
operator const TYPE* () const
void empty()
void touch(int n)
int lineno=1;
GArray<GString> a;
while (! end_of_file()) {
a.touch(lineno);
a[lineno++] = read_a_line();
}
void resize(int hibound)
void resize(int lobound, int hibound)
void shift(int disp)
void del(int n, int howmany=1)
void ins(int n, int howmany=1)
void ins(int n, const TYPE &val, int howmany=1)
void steal(GArrayTemplate &ga)
void sort()
void sort(int lo, int hi)
Alphabetic index HTML hierarchy of classes or Java