#include <qarray.h>
Public Types | |
typedef type * | Iterator |
typedef const type * | ConstIterator |
typedef type | ValueType |
Public Member Functions | |
QArray () | |
QArray (int size) | |
QArray (const QArray< type > &a) | |
~QArray () | |
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 |
Public Member Functions inherited from QGArray | |
QGArray () | |
Protected Member Functions | |
QArray (int, int) | |
Protected Member Functions inherited from QGArray | |
QGArray (int, int) | |
QGArray (int size) | |
QGArray (const QGArray &a) | |
virtual | ~QGArray () |
QGArray & | operator= (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) |
QGArray & | assign (const QGArray &a) |
QGArray & | assign (const char *d, uint len) |
QGArray & | duplicate (const QGArray &a) |
QGArray & | duplicate (const char *d, uint len) |
void | store (const char *d, uint len) |
array_data * | sharedBlock () const |
void | setSharedBlock (array_data *p) |
QGArray & | setRawData (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_data * | newData () |
virtual void | deleteData (array_data *p) |
typedef const type* QArray< type >::ConstIterator |
Definition at line 58 of file qarray.h.
Definition at line 76 of file qarray.h.
Definition at line 78 of file qarray.h.
Definition at line 98 of file qarray.h.
|
inline |
Definition at line 94 of file qarray.h.
Definition at line 91 of file qarray.h.
Definition at line 74 of file qarray.h.
Definition at line 63 of file qarray.h.
Definition at line 80 of file qarray.h.
Definition at line 82 of file qarray.h.
|
inline |
Definition at line 71 of file qarray.h.
Definition at line 89 of file qarray.h.
Definition at line 100 of file qarray.h.
Definition at line 61 of file qarray.h.
Definition at line 96 of file qarray.h.
Definition at line 87 of file qarray.h.
Definition at line 69 of file qarray.h.
Definition at line 84 of file qarray.h.
Definition at line 65 of file qarray.h.
Definition at line 93 of file qarray.h.
Definition at line 70 of file qarray.h.