QGCache(3qt)

NAME
QGCache - Internal class for implementing

#include <qgcache.h>

Inherits QCollection.

Inherited by QAsciiCache, QCache and QIntCache.

  Protected Members

enum KeyType { StringKey, AsciiKey, IntKey, PtrKey }

QGCache ( int maxCost, uint size, KeyType kt, bool caseSensitive, bool copyKeys ) (internal)

QGCache ( const QGCache & ) (internal)

~QGCache () (internal)

QGCache& operator= ( const QGCache & ) (internal)

virtual uint count () const (internal)

uint size () const (internal)

int maxCost () const (internal)

int totalCost () const (internal)

void setMaxCost ( int maxCost ) (internal)

virtual void clear () (internal)

bool insert_string ( const QString & key, QCollection::Item, int cost, int priority ) (internal)

bool insert_other ( const char * key, QCollection::Item, int cost, int priority ) (internal)

bool remove_string ( const QString & key ) (internal)

bool remove_other ( const char * key ) (internal)

QCollection::Item take_string ( const QString & key ) (internal)

QCollection::Item take_other ( const char * key ) (internal)

QCollection::Item find_string ( const QString & key, bool ref=TRUE ) const (internal)

QCollection::Item find_other ( const char * key, bool ref=TRUE ) const (internal)

void statistics () const (internal)

DESCRIPTION
The QGCache class is an internal class for implementing QCache template classes.

QGCache is a strictly internal class that acts as a base class for the collection classes QCache and QIntCache.

MEMBER FUNCTION DOCUMENTATION

QGCache::QGCache ( const QGCache & ) [protected]
For internal use only.

QGCache::QGCache ( int maxCost, uint size, KeyType kt, bool caseSensitive, bool copyKeys ) [protected]
For internal use only.

QGCache::~QGCache () [protected]
For internal use only.

void QGCache::clear () [virtual protected]
For internal use only.

Reimplemented from QCollection.

uint QGCache::count () const [virtual protected]
For internal use only.

Reimplemented from QCollection.

QCollection::Item QGCache::find_other( const char * key, bool ref=TRUE ) const [protected]
For internal use only.

QCollection::Item QGCache::find_string( const QString & key, bool ref=TRUE ) const [protected]
For internal use only.

bool QGCache::insert_other ( const char * key, QCollection::Item data, int cost, int priority ) [protected]
For internal use only.

bool QGCache::insert_string ( const QString & key, QCollection::Item data, int cost, int priority ) [protected]
For internal use only.

int QGCache::maxCost () const [protected]
For internal use only.

QGCache & QGCache::operator= ( const QGCache & ) [protected]
For internal use only.

bool QGCache::remove_other ( const char * key ) [protected]
For internal use only.

bool QGCache::remove_string ( const QString & key ) [protected]
For internal use only.

void QGCache::setMaxCost ( int maxCost ) [protected]
For internal use only.

uint QGCache::size () const [protected]
For internal use only.

void QGCache::statistics () const [protected]
For internal use only.

QCollection::Item QGCache::take_other( const char * key ) [protected]
For internal use only.

QCollection::Item QGCache::take_string( const QString & key ) [protected]
For internal use only.

int QGCache::totalCost () const [protected]
For internal use only.

SEE ALSO
http://doc.trolltech.com/qgcache.html http://www.trolltech.com/faq/tech.html

COPYRIGHT
Copyright 1992-2001 Trolltech AS, http://www.trolltech.com. See the license file included in the distribution for a complete license statement.

AUTHOR
Generated automatically from the source code.

BUGS
If you find a bug in Qt, please report it as described in http://doc.trolltech.com/bughowto.html. Good bug reports make our job much simpler. Thank you.

In case of content or formattting problems with this manual page, please report them to qt-bugs@trolltech.com. Please include the name of the manual page (qgcache.3qt) and the Qt version (2.3.1).