Gaia
gaia2::Array< T > Class Template Reference
Inheritance diagram for gaia2::Array< T >:
GVarLengthArray< T, 1 > gaia2::SingleValueMorphable< T >

Public Member Functions

 Array (int size)
 
 Array (int size, const T &value)
 
const T & at (int i) const
 
Arrayoperator<< (const T &x)
 
T & front ()
 
const T & front () const
 
Arrayfill (const T &val, int size)
 
int size () const
 
const T * constBegin () const
 
const T * begin () const
 
T * begin ()
 
const T * constEnd () const
 
const T * end () const
 
T * end ()
 
bool operator== (const Array< T > &rhs) const
 
bool operator!= (const Array< T > &rhs) const
 
- Public Member Functions inherited from GVarLengthArray< T, 1 >
 GVarLengthArray (int size=0)
 
 GVarLengthArray (const GVarLengthArray< T, Prealloc > &other)
 
GVarLengthArray< T, Prealloc > & operator= (const GVarLengthArray< T, Prealloc > &other)
 
void removeLast ()
 
int size () const
 
int count () const
 
bool isEmpty () const
 
void resize (int size)
 
void clear ()
 
int capacity () const
 
void reserve (int size)
 
T & operator[] (int idx)
 
const T & operator[] (int idx) const
 
void append (const T &t)
 
void append (const T *buf, int size)
 
T * data ()
 
const T * data () const
 
const T * constData () const
 

Additional Inherited Members

- Public Attributes inherited from GVarLengthArray< T, 1 >
char array [sizeof(qint64)*(((Prealloc *sizeof(T))/sizeof(qint64))+1)]
 
qint64 q_for_alignment_1
 
double q_for_alignment_2
 

The documentation for this class was generated from the following file: