Qt logo

QGDict Class Reference


The QGDict class is an internal class for implementing QDict and QIntDict. More...

#include <qgdict.h>

Inherits QCollection.

Inherited by QDict, QIntDict and QPtrDict.

List of all member functions.

Public Members

Protected Members


Detailed Description

The QGDict class is an internal class for implementing QDict and QIntDict.

QGDict is a strictly internal class that acts as a base class for the collection classes QDict and QIntDict.

QGDict has some virtual functions that can be reimplemented to customize the subclasses.

Normally, you do not have to reimplement any of these functions.

Member Function Documentation

QGDict::QGDict ( const QGDict & dict ) [protected]

For internal use only.

QGDict::QGDict ( uint len, bool cs, bool ck, bool th ) [protected]

For internal use only.

QGDict::~QGDict () [protected]

For internal use only.

void QGDict::clear () [virtual protected]

For internal use only.

Reimplemented from QCollection.

uint QGDict::count () const [virtual]

For internal use only.

Reimplemented from QCollection.

int QGDict::hashKey ( const char * key ) [virtual protected]

Returns the hash key for key, when key is a string.

GCI QGDict::look ( const char * key, GCI d, int op )

For internal use only.

QGDict & QGDict::operator= ( const QGDict & dict ) [protected]

For internal use only.

QDataStream & QGDict::read ( QDataStream & s )

For internal use only.

QDataStreamQGDict::read ( QDataStream & s, GCI & item ) [virtual protected]

Reads a collection/dictionary item from the stream s and returns a reference to the stream.

The default implementation sets item to 0.

See also: write().

bool QGDict::remove ( const char * key ) [protected]

For internal use only.

void QGDict::resize ( uint newsize ) [protected]

For internal use only.

uint QGDict::size () const

For internal use only.

void QGDict::statistics () const [protected]

For internal use only.

GCI QGDict::take ( const char * key ) [protected]

For internal use only.

QDataStreamQGDict::write ( QDataStream & s ) const

For internal use only.

QDataStreamQGDict::write ( QDataStream & s, GCI ) const [virtual protected]

Writes a collection/dictionary item to the stream s and returns a reference to the stream.

The default implementation does nothing.

See also: read().


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


This file is part of the Qt toolkit, copyright © 1995-98 Troll Tech, all rights reserved.

It was generated from the following files:


Copyright İ 1998 Troll TechTrademarks
Qt version 1.42