| Classes - Annotated - Tree - Functions - Home - Structure

# QGArray Class Reference

The QGArray class is an internal class for implementing the QArray class. More...

`#include <qgarray.h>`

Inherited by QArray.

List of all member functions.

## Public Members

- QGArray () (internal)

## Protected Members

- QGArray ( int, int ) (internal)
- QGArray ( int size ) (internal)
- QGArray ( const QGArray & a ) (internal)
- virtual ~QGArray () (internal)
- QGArray& operator= ( const QGArray & a ) (internal)
- virtual void detach () (internal)
- char* data () const (internal)
- uint nrefs () const (internal)
- uint size () const (internal)
- bool isEqual ( const QGArray & a ) const (internal)
- bool resize ( uint newsize ) (internal)
- bool fill ( const char * d, int len, uint sz ) (internal)
- QGArray& assign ( const QGArray & a ) (internal)
- QGArray& assign ( const char * d, uint len ) (internal)
- QGArray& duplicate ( const QGArray & a ) (internal)
- QGArray& duplicate ( const char * d, uint len ) (internal)
- void store ( const char * d, uint len ) (internal)
- array_data* sharedBlock () const (internal)
- void setSharedBlock ( array_data * p ) (internal)
- QGArray& setRawData ( const char * d, uint len ) (internal)
- void resetRawData ( const char * d, uint len ) (internal)
- int find ( const char * d, uint index, uint sz ) const (internal)
- int contains ( const char * d, uint sz ) const (internal)
- void sort ( uint sz ) (internal)
- int bsearch ( const char * d, uint sz ) const (internal)
- char* at ( uint index ) const (internal)
- bool setExpand ( uint index, const char * d, uint sz ) (internal)
- virtual array_data* newData ()
- virtual void deleteData ( array_data * p ) (internal)

## Detailed Description

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.

## Member Function Documentation

### QGArray::QGArray ()

For internal use only.

### QGArray::QGArray ( const QGArray & a ) `[protected]`

For internal use only.

### QGArray::QGArray ( int size ) `[protected]`

For internal use only.

### QGArray::QGArray ( int, int ) `[protected]`

For internal use only.

### QGArray::~QGArray () `[virtual protected]`

For internal use only.

### QGArray & QGArray::assign ( const QGArray & a ) `[protected]`

For internal use only.

### QGArray & QGArray::assign ( const char * d, uint len ) `[protected]`

For internal use only.

### char * QGArray::at ( uint index ) const `[protected]`

For internal use only.

### int QGArray::bsearch ( const char * d, uint sz ) const `[protected]`

For internal use only.

### int QGArray::contains ( const char * d, uint sz ) const `[protected]`

For internal use only.

### char * QGArray::data () const `[protected]`

For internal use only.

### void QGArray::deleteData ( array_data * p ) `[virtual protected]`

For internal use only.

Reimplemented in QBitArray.

### void QGArray::detach () `[virtual protected]`

For internal use only.

Reimplemented in QBitArray, QByteArray and QArray.

### QGArray & QGArray::duplicate ( const QGArray & a ) `[protected]`

For internal use only.

### QGArray & QGArray::duplicate ( const char * d, uint len ) `[protected]`

For internal use only.

### bool QGArray::fill ( const char * d, int len, uint sz ) `[protected]`

For internal use only.

### int QGArray::find ( const char * d, uint index, uint sz ) const `[protected]`

For internal use only.

### bool QGArray::isEqual ( const QGArray & a ) const `[protected]`

For internal use only.

### uint QGArray::nrefs () const `[protected]`

For internal use only.

### QGArray & QGArray::operator= ( const QGArray & a ) `[protected]`

For internal use only.

### void QGArray::resetRawData ( const char * d, uint len ) `[protected]`

For internal use only.

### bool QGArray::resize ( uint newsize ) `[protected]`

For internal use only.

### bool QGArray::setExpand ( uint index, const char * d, uint sz ) `[protected]`

For internal use only.

### QGArray & QGArray::setRawData ( const char * d, uint len ) `[protected]`

For internal use only.

### void QGArray::setSharedBlock ( array_data * p ) `[protected]`

For internal use only.

### array_data * QGArray::sharedBlock () const `[protected]`

For internal use only.

### uint QGArray::size () const `[protected]`

For internal use only.

### void QGArray::sort ( uint sz ) `[protected]`

For internal use only.

### void QGArray::store ( const char * d, uint len ) `[protected]`

For internal use only.

Search the documentation, FAQ, qt-interest archive and more (uses www.trolltech.com):

This file is part of the Qt toolkit, copyright © 1995-2001 Trolltech, all rights reserved.