Eneboo - Documentación para desarrolladores
|
#include <qasciicache.h>
Métodos públicos | |
QAsciiCache (const QAsciiCache< type > &c) | |
QAsciiCache (int maxCost=100, int size=17, bool caseSensitive=TRUE, bool copyKeys=TRUE) | |
~QAsciiCache () | |
QAsciiCache< type > & | operator= (const QAsciiCache< type > &c) |
int | maxCost () const |
int | totalCost () const |
void | setMaxCost (int m) |
uint | count () const |
uint | size () const |
bool | isEmpty () const |
void | clear () |
bool | insert (const char *k, const type *d, int c=1, int p=0) |
bool | remove (const char *k) |
type * | take (const char *k) |
type * | find (const char *k, bool ref=TRUE) const |
type * | operator[] (const char *k) const |
void | statistics () const |
QAsciiCache (const QAsciiCache< type > &c) | |
QAsciiCache (int maxCost=100, int size=17, bool caseSensitive=TRUE, bool copyKeys=TRUE) | |
~QAsciiCache () | |
QAsciiCache< type > & | operator= (const QAsciiCache< type > &c) |
int | maxCost () const |
int | totalCost () const |
void | setMaxCost (int m) |
uint | count () const |
uint | size () const |
bool | isEmpty () const |
void | clear () |
bool | insert (const char *k, const type *d, int c=1, int p=0) |
bool | remove (const char *k) |
type * | take (const char *k) |
type * | find (const char *k, bool ref=TRUE) const |
type * | operator[] (const char *k) const |
void | statistics () const |
QAsciiCache< type >::QAsciiCache | ( | const QAsciiCache< type > & | c | ) | [inline] |
QAsciiCache< type >::QAsciiCache | ( | int | maxCost = 100 , |
int | size = 17 , |
||
bool | caseSensitive = TRUE , |
||
bool | copyKeys = TRUE |
||
) | [inline] |
QAsciiCache< type >::~QAsciiCache | ( | ) | [inline] |
QAsciiCache< type >::QAsciiCache | ( | const QAsciiCache< type > & | c | ) | [inline] |
QAsciiCache< type >::QAsciiCache | ( | int | maxCost = 100 , |
int | size = 17 , |
||
bool | caseSensitive = TRUE , |
||
bool | copyKeys = TRUE |
||
) | [inline] |
QAsciiCache< type >::~QAsciiCache | ( | ) | [inline] |
void QAsciiCache< type >::clear | ( | void | ) | [inline, virtual] |
Clears the cache.
Reimplementado de QGCache.
void QAsciiCache< type >::clear | ( | void | ) | [inline, virtual] |
Clears the cache.
Reimplementado de QGCache.
uint QAsciiCache< type >::count | ( | ) | const [inline, virtual] |
Returns the number of items in the cache.
Reimplementado de QGCache.
uint QAsciiCache< type >::count | ( | ) | const [inline, virtual] |
Returns the number of items in the cache.
Reimplementado de QGCache.
type* QAsciiCache< type >::find | ( | const char * | k, |
bool | ref = TRUE |
||
) | const [inline] |
type* QAsciiCache< type >::find | ( | const char * | k, |
bool | ref = TRUE |
||
) | const [inline] |
bool QAsciiCache< type >::insert | ( | const char * | k, |
const type * | d, | ||
int | c = 1 , |
||
int | p = 0 |
||
) | [inline] |
bool QAsciiCache< type >::insert | ( | const char * | k, |
const type * | d, | ||
int | c = 1 , |
||
int | p = 0 |
||
) | [inline] |
bool QAsciiCache< type >::isEmpty | ( | void | ) | const [inline] |
bool QAsciiCache< type >::isEmpty | ( | void | ) | const [inline] |
int QAsciiCache< type >::maxCost | ( | ) | const [inline] |
Returns the maximum cache cost.
Reimplementado de QGCache.
int QAsciiCache< type >::maxCost | ( | ) | const [inline] |
Returns the maximum cache cost.
Reimplementado de QGCache.
QAsciiCache<type>& QAsciiCache< type >::operator= | ( | const QAsciiCache< type > & | c | ) | [inline] |
QAsciiCache<type>& QAsciiCache< type >::operator= | ( | const QAsciiCache< type > & | c | ) | [inline] |
type* QAsciiCache< type >::operator[] | ( | const char * | k | ) | const [inline] |
type* QAsciiCache< type >::operator[] | ( | const char * | k | ) | const [inline] |
bool QAsciiCache< type >::remove | ( | const char * | k | ) | [inline] |
bool QAsciiCache< type >::remove | ( | const char * | k | ) | [inline] |
void QAsciiCache< type >::setMaxCost | ( | int | maxCost | ) | [inline] |
Sets the maximum cache cost to maxCost.
Reimplementado de QGCache.
void QAsciiCache< type >::setMaxCost | ( | int | maxCost | ) | [inline] |
Sets the maximum cache cost to maxCost.
Reimplementado de QGCache.
uint QAsciiCache< type >::size | ( | ) | const [inline] |
Returns the size of the hash array.
Reimplementado de QGCache.
uint QAsciiCache< type >::size | ( | ) | const [inline] |
Returns the size of the hash array.
Reimplementado de QGCache.
void QAsciiCache< type >::statistics | ( | ) | const [inline] |
Outputs debug statistics.
Reimplementado de QGCache.
void QAsciiCache< type >::statistics | ( | ) | const [inline] |
Outputs debug statistics.
Reimplementado de QGCache.
type* QAsciiCache< type >::take | ( | const char * | k | ) | [inline] |
type* QAsciiCache< type >::take | ( | const char * | k | ) | [inline] |
int QAsciiCache< type >::totalCost | ( | ) | const [inline] |
Returns the total cache cost.
Reimplementado de QGCache.
int QAsciiCache< type >::totalCost | ( | ) | const [inline] |
Returns the total cache cost.
Reimplementado de QGCache.