![]() |
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
|
#include <FXHash.h>
Public Member Functions | |
| FXHash () | |
| void | size (FXuint m) |
| FXint | size () const |
| FXuint | no () const |
| void * | insert (void *key, void *value) |
| void * | replace (void *key, void *value) |
| void * | remove (void *key) |
| void * | find (void *key) const |
| bool | empty (FXint pos) const |
| void * | key (FXint pos) const |
| void * | value (FXint pos) const |
| void | clear () |
| virtual | ~FXHash () |
| FX::FXHash::FXHash | ( | ) |
Construct empty hash table.
| virtual FX::FXHash::~FXHash | ( | ) | [virtual] |
Destructor.
| void FX::FXHash::size | ( | FXuint | m | ) |
Resize the table to the given size.
| FXint FX::FXHash::size | ( | ) | const [inline] |
Return the size of the table.
| FXuint FX::FXHash::no | ( | ) | const [inline] |
Return number of items in table.
| void* FX::FXHash::insert | ( | void * | key, | |
| void * | value | |||
| ) |
Insert key into the table.
| void* FX::FXHash::replace | ( | void * | key, | |
| void * | value | |||
| ) |
Replace key in table.
| void* FX::FXHash::remove | ( | void * | key | ) |
Remove key from the table.
| void* FX::FXHash::find | ( | void * | key | ) | const |
Return value of key.
| bool FX::FXHash::empty | ( | FXint | pos | ) | const [inline] |
Return true if slot is empty.
| void* FX::FXHash::key | ( | FXint | pos | ) | const [inline] |
Return key at position pos.
| void* FX::FXHash::value | ( | FXint | pos | ) | const [inline] |
Return data pointer at position pos.
| void FX::FXHash::clear | ( | ) |
Clear hash table.
|
|