#include <qint64dict.h>
Inheritance diagram for FX::QInt64Dict< type >:
Definition at line 39 of file qint64dict.h.
Public Types | |
typedef FXlong | KeyType |
typedef type | ItemType |
HasSlowKeyCompare | |
Public Member Functions | |
QInt64Dict (int size=13, bool wantAutoDel=false) | |
~QInt64Dict () | |
void | insert (FXlong k, const type *d) |
void | replace (FXlong k, const type *d) |
bool | remove (FXlong k) |
type * | take (FXlong k) |
type * | find (FXlong k) const |
type * | operator[] (FXlong k) const |
template<> | |
void | deleteItem (void *) |
bool | autoDelete () const |
void | setAutoDelete (bool a) |
uint | count () const |
bool | isEmpty () const |
uint | size () const |
void | clear () |
void | append (const QDictBase< FXlong, type > &o) |
QDictBase< FXlong, type > & | operator+= (const QDictBase< FXlong, type > &o) |
void | resize (uint newsize) |
void | safeResize (uint newsize) throw () |
void | spread (float *full, float *slotsspread, float *avrgkeysperslot, float *spread) const |
void | statistics () const |
FXint | dictionaryBias () const throw () |
Protected Types | |
typedef std::map< FXlong, hashitemlist > | keyitemlist |
typedef keyitemlist::value_type | keyitem |
Protected Member Functions | |
virtual void | deleteItem (type *d) |
keyitem * | findKey (FXuint h, const FXlong &k) |
const keyitem * | findKey (FXuint h, const FXlong &k) const |
void | insert (FXuint h, const FXlong &k, type *d) |
void | replace (FXuint h, const FXlong &k, type *d) |
bool | remove (FXuint h, const FXlong &k) |
type * | take (FXuint h, const FXlong &k) |
type * | find (FXuint h, const FXlong &k) const |