template<class TYPE> class GTArray: public GArrayTemplate<TYPE>

Dynamic array for simple types.

Inheritance:


Inherited from GArrayTemplate:

Public Methods

oint size() const
oint lbound() const
oint hbound() const
oinline TYPE& operator[](int const n)
oinline const TYPE& operator[](int n) const
o operator TYPE* ()
o operator const TYPE* () const
ovoid empty()
ovoid touch(int n)
ovoid resize(int hibound)
ovoid resize(int lobound, int hibound)
ovoid shift(int disp)
ovoid del(int n, int howmany=1)
ovoid ins(int n, int howmany=1)
ovoid ins(int n, const TYPE &val, int howmany=1)
ovoid steal(GArrayTemplate &ga)
ovoid sort()
ovoid sort(int lo, int hi)


Documentation

Dynamic array for simple types. Template class GTArray<TYPE> implements an array of elements of simple type TYPE. Simple means that objects of type TYPE can be created, copied, moved or destroyed without using specific constructors or destructor functions. Class GTArray<TYPE> will move or copy objects using simple bitwise copies. Otherwise you must use class GArray<TYPE>. This class only implement constructors. See class GArrayTemplate for a description of all access methods.

This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java


DjVu is a trademark of LizardTech, Inc.
All other products mentioned are registered trademarks or trademarks of their respective companies.