![]() |
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
![]() |
#include <FXDict.h>
Inheritance diagram for FX::FXDict:
Public Methods | |
FXDict () | |
FXint | size () const |
void | size (FXint m) |
FXint | no () const |
void * | insert (const FXchar *ky, const void *ptr, FXbool mrk=FALSE) |
void * | replace (const FXchar *ky, const void *ptr, FXbool mrk=FALSE) |
void * | remove (const FXchar *ky) |
void * | find (const FXchar *ky) const |
const FXchar * | key (FXuint pos) const |
void * | data (FXuint pos) const |
FXbool | mark (FXuint pos) const |
FXint | first () const |
FXint | last () const |
FXint | next (FXint pos) const |
FXint | prev (FXint pos) const |
void | clear () |
Clear all entries. | |
virtual | ~FXDict () |
Destructor. |
|
Construct an empty dictionary. |
|
Return the size of the table, including the empty slots. |
|
Resize the table to the given size. |
|
Return the total number of entries in the table. |
|
Insert a new entry into the table given key and mark. If there is already an entry with that key, leave it unchanged, otherwise insert the new entry. |
|
Replace data at key, if the entry's mark is less than or equal to the given mark. If there was no existing entry, a new entry is inserted with the given mark. |
|
Remove data given key. Reimplemented in FX::FXIconDict, FX::FXFileDict, and FX::FXStringDict. |
|
Find data pointer given key. Reimplemented in FX::FXSettings, and FX::FXStringDict. |
|
Return key at position pos. |
|
return data pointer at position pos. Reimplemented in FX::FXSettings, and FX::FXStringDict. |
|
Return mark flag of entry at position pos. |
|
Return position of first filled slot, or >= total |
|
Return position of last filled slot or -1 |
|
Return position of next filled slot in hash table or a value greater than or equal to total if no filled slot was found |
|
Return position of previous filled slot in hash table or a -1 if no filled slot was found |