#include <QHostAddress.h>
Inheritance diagram for FX::QHostAddressDict< type >:
Definition at line 144 of file QHostAddress.h.
Public Types | |
HasSlowKeyCompare | |
enum | { HasSlowKeyCompare } |
typedef keytype | KeyType |
typedef type | ItemType |
enum | { HasSlowKeyCompare } |
Public Member Functions | |
QHostAddressDict (int size=13, bool wantAutoDel=false) | |
QHostAddressDict (const QHostAddressDict< type > &o) | |
~QHostAddressDict () | |
void | insert (const QHostAddress &k, const type *d) |
void | replace (const QHostAddress &k, const type *d) |
bool | remove (const QHostAddress &k) |
type * | take (const QHostAddress &k) |
type * | find (const QHostAddress &k) const |
type * | operator[] (const QHostAddress &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< keytype, type > &o) |
QDictBase< keytype, type > & | operator+= (const QDictBase< keytype, 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< keytype, hashitemlist > | keyitemlist |
typedef keyitemlist::value_type | keyitem |
Protected Member Functions | |
virtual void | deleteItem (type *d) |
keyitem * | findKey (FXuint h, const keytype &k) |
const keyitem * | findKey (FXuint h, const keytype &k) const |
void | insert (FXuint h, const keytype &k, type *d) |
void | replace (FXuint h, const keytype &k, type *d) |
bool | remove (FXuint h, const keytype &k) |
type * | take (FXuint h, const keytype &k) |
type * | find (FXuint h, const keytype &k) const |