📄 qgcache.3qt
字号:
.TH QGCache 3qt "6 July 1999" "Troll Tech AS" \" -*- nroff -*-.\" Copyright 1992-1999 Troll Tech AS. All rights reserved. See the.\" license file included in the distribution for a complete license.\" statement..\".ad l.nh.SH NAMEQGCache \- Internal class for implementing QCache template classes.SH SYNOPSIS.br.PP\fC#include <qgcache.h>\fR.PPInherits QCollection..PPInherited by QAsciiCache, QCache and QIntCache..PP.SS "Protected Members".TPenum \fBKeyType\fR { StringKey, AsciiKey, IntKey, PtrKey }.TP\fBQGCache\fR ( int maxCost, uint size, KeyType kt, bool caseSensitive, bool copyKeys ) .TP\fBQGCache\fR ( const QGCache & ) .TP\fB~QGCache\fR () .TPQGCache& \fBoperator=\fR ( const QGCache & ) .TPvirtual uint \fBcount\fR () const.TPuint \fBsize\fR () const.TPint \fBmaxCost\fR () const.TPint \fBtotalCost\fR () const.TPvoid \fBsetMaxCost\fR ( int maxCost ) .TPvirtual void \fBclear\fR () .TPbool \fBinsert_string\fR ( const QString & key, QCollection::Item, int cost, int priority ) .TPbool \fBinsert_other\fR ( const char * key, QCollection::Item, int cost, int priority ) .TPbool \fBremove_string\fR ( const QString & key ) .TPbool \fBremove_other\fR ( const char * key ) .TPQCollection::Item \fBtake_string\fR ( const QString & key ) .TPQCollection::Item \fBtake_other\fR ( const char * key ) .TPQCollection::Item \fBfind_string\fR ( const QString & key, bool ref=TRUE ) const.TPQCollection::Item \fBfind_other\fR ( const char * key, bool ref=TRUE ) const.TPvoid \fBstatistics\fR () const.SH DESCRIPTIONThe QGCache class is an internal class for implementing QCache template classes..PPQGCache is a strictly internal class that acts as a base class for the collection classes QCache and QIntCache..SH MEMBER FUNCTION DOCUMENTATION.SH "QGCache::QGCache ( const QGCache & ) \fC[protected]\fR"For internal use only..SH "QGCache::QGCache ( int maxCost, uint size, KeyType kt, bool caseSensitive, bool copyKeys ) \fC[protected]\fR"For internal use only..SH "QGCache::~QGCache () \fC[protected]\fR"For internal use only..SH "void QGCache::clear () \fC[virtual protected]\fR"For internal use only..PPReimplemented from QCollection..SH "uint QGCache::count () const \fC[virtual protected]\fR"For internal use only..PPReimplemented from QCollection..SH "QCollection::Item QGCache::find_other( const char * key, bool ref=TRUE ) const \fC[protected]\fR"For internal use only..SH "QCollection::Item QGCache::find_string( const QString & key, bool ref=TRUE ) const \fC[protected]\fR"For internal use only..SH "bool QGCache::insert_other ( const char * key, QCollection::Item data, int cost, int priority ) \fC[protected]\fR"For internal use only..SH "bool QGCache::insert_string ( const QString & key, QCollection::Item data, int cost, int priority ) \fC[protected]\fR"For internal use only..SH "int QGCache::maxCost () const \fC[protected]\fR"For internal use only..SH "QGCache & QGCache::operator= ( const QGCache & ) \fC[protected]\fR"For internal use only..SH "bool QGCache::remove_other ( const char * key ) \fC[protected]\fR"For internal use only..SH "bool QGCache::remove_string ( const QString & key ) \fC[protected]\fR"For internal use only..SH "void QGCache::setMaxCost ( int maxCost ) \fC[protected]\fR"For internal use only..SH "uint QGCache::size () const \fC[protected]\fR"For internal use only..SH "void QGCache::statistics () const \fC[protected]\fR"For internal use only..SH "QCollection::Item QGCache::take_other( const char * key ) \fC[protected]\fR"For internal use only..SH "QCollection::Item QGCache::take_string( const QString & key ) \fC[protected]\fR"For internal use only..SH "int QGCache::totalCost () const \fC[protected]\fR"For internal use only..SH "SEE ALSO".BR http://www.troll.no/qt/qgcache.html.SH COPYRIGHTCopyright 1992-1999 Troll Tech AS. See the license file included inthe distribution for a complete license statement..SH AUTHORGenerated automatically from the source code.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -