ISLEman
Public Types | Public Member Functions | Protected Member Functions | List of all members
QArray< type > Class Template Reference
Inheritance diagram for QArray< type >:
QGArray

Public Types

typedef type * Iterator
 
typedef const type * ConstIterator
 
typedef type ValueType
 

Public Member Functions

 QArray (int size)
 
 QArray (const QArray< type > &a)
 
QArray< type > & operator= (const QArray< type > &a)
 
type * data () const
 
uint nrefs () const
 
uint size () const
 
uint count () const
 
bool isEmpty () const
 
bool isNull () const
 
bool resize (uint size)
 
bool truncate (uint pos)
 
bool fill (const type &d, int size=-1)
 
void detach ()
 
QArray< type > copy () const
 
QArray< type > & assign (const QArray< type > &a)
 
QArray< type > & assign (const type *a, uint n)
 
QArray< type > & duplicate (const QArray< type > &a)
 
QArray< type > & duplicate (const type *a, uint n)
 
QArray< type > & setRawData (const type *a, uint n)
 
void resetRawData (const type *a, uint n)
 
int find (const type &d, uint i=0) const
 
int contains (const type &d) const
 
void sort ()
 
int bsearch (const type &d) const
 
type & operator[] (int i) const
 
type & at (uint i) const
 
 operator const type * () const
 
bool operator== (const QArray< type > &a) const
 
bool operator!= (const QArray< type > &a) const
 
Iterator begin ()
 
Iterator end ()
 
ConstIterator begin () const
 
ConstIterator end () const
 

Protected Member Functions

 QArray (int, int)
 
- Protected Member Functions inherited from QGArray
 QGArray (int, int)
 
 QGArray (int size)
 
 QGArray (const QGArray &a)
 
QGArrayoperator= (const QGArray &a)
 
char * data () const
 
uint nrefs () const
 
uint size () const
 
bool isEqual (const QGArray &a) const
 
bool resize (uint newsize)
 
bool fill (const char *d, int len, uint sz)
 
QGArrayassign (const QGArray &a)
 
QGArrayassign (const char *d, uint len)
 
QGArrayduplicate (const QGArray &a)
 
QGArrayduplicate (const char *d, uint len)
 
void store (const char *d, uint len)
 
array_datasharedBlock () const
 
void setSharedBlock (array_data *p)
 
QGArraysetRawData (const char *d, uint len)
 
void resetRawData (const char *d, uint len)
 
int find (const char *d, uint index, uint sz) const
 
int contains (const char *d, uint sz) const
 
void sort (uint sz)
 
int bsearch (const char *d, uint sz) const
 
char * at (uint index) const
 
bool setExpand (uint index, const char *d, uint sz)
 
virtual array_datanewData ()
 
virtual void deleteData (array_data *p)
 

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