63 virtual void *createData(
const void*);
70 virtual void deleteData(
void*);
92 FXint size()
const {
return total; }
97 FXint no()
const {
return number; }
104 void* insert(
const FXchar* ky,
const void* ptr,
bool mrk=
false);
111 void* replace(
const FXchar* ky,
const void* ptr,
bool mrk=
false);
116 void*
remove(
const FXchar* ky);
121 void* find(
const FXchar* ky)
const;
126 bool empty(
FXint pos)
const {
return dict[pos].hash<0; }
131 const FXchar* key(
FXuint pos)
const {
return dict[pos].key; }
136 void* data(
FXuint pos)
const {
return dict[pos].data; }
141 bool mark(
FXuint pos)
const {
return dict[pos].mark; }
char FXchar
Definition: fxdefs.h:380
unsigned int FXuint
Definition: fxdefs.h:389
#define FXAPI
Definition: fxdefs.h:122
Definition: FX4Splitter.h:31
int FXint
Definition: fxdefs.h:390
The dictionary class maintains a fast-access hash table of entities indexed by a character string...
Definition: FXDict.h:41
Object is the base class for all objects in FOX; in order to receive messages from the user interface...
Definition: FXObject.h:166
#define FXDECLARE(classname)
Macro to set up class declaration.
Definition: FXObject.h:92