The QGArray class is an internal class for implementing the QArray class. More...
#include <qgarray.h>
Classes | |
struct | array_data |
Public Member Functions | |
QGArray () | |
Protected Member Functions | |
QGArray (int, int) | |
QGArray (int size) | |
QGArray (const QGArray &a) | |
virtual | ~QGArray () |
QGArray & | operator= (const QGArray &a) |
virtual void | detach () |
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) |
Static Private Member Functions | |
static void | msg_index (uint) |
Private Attributes | |
array_data * | shd |
Friends | |
class | QBuffer |
The QGArray class is an internal class for implementing the QArray class.
QGArray is a strictly internal class that acts as base class for the QArray template array.
It contains an array of bytes and has no notion of an array element.
QGArray::QGArray | ( | ) |
Definition at line 89 of file qgarray.cpp.
|
protected |
Definition at line 103 of file qgarray.cpp.
|
protected |
Definition at line 112 of file qgarray.cpp.
|
protected |
Definition at line 134 of file qgarray.cpp.
|
protectedvirtual |
Definition at line 146 of file qgarray.cpp.
Definition at line 284 of file qgarray.cpp.
Definition at line 305 of file qgarray.cpp.
|
protected |
Definition at line 667 of file qgarray.cpp.
|
protected |
Definition at line 584 of file qgarray.cpp.
|
protectedvirtual |
Definition at line 743 of file qgarray.cpp.
|
inlineprotectedvirtual |
Reimplemented in QArray< type >, QArray< char >, and QArray< bool >.
Definition at line 65 of file qgarray.h.
Definition at line 327 of file qgarray.cpp.
Definition at line 375 of file qgarray.cpp.
Definition at line 249 of file qgarray.cpp.
Definition at line 522 of file qgarray.cpp.
Definition at line 194 of file qgarray.cpp.
|
staticprivate |
Definition at line 717 of file qgarray.cpp.
|
protectedvirtual |
Definition at line 732 of file qgarray.cpp.
|
protected |
Definition at line 499 of file qgarray.cpp.
Definition at line 209 of file qgarray.cpp.
Definition at line 700 of file qgarray.cpp.
Definition at line 483 of file qgarray.cpp.
|
inlineprotected |
|
inlineprotected |
|
protected |
Definition at line 652 of file qgarray.cpp.
|
protected |
Definition at line 412 of file qgarray.cpp.
|
private |