|
|
| FXVariantMap () |
| | Construct an empty map.
|
| |
|
| FXVariantMap (const FXVariantMap &other) |
| | Construct from another map.
|
| |
|
FXival | no () const |
| | Return the size of the table, including the empty slots.
|
| |
|
FXival | used () const |
| | Return number of used slots in the table.
|
| |
|
FXival | free () const |
| | Return number of free slots in the table.
|
| |
|
FXbool | empty () const |
| | See if map is empty.
|
| |
|
FXVariantMap & | operator= (const FXVariantMap &other) |
| | Assignment operator.
|
| |
|
FXVariantMap & | adopt (FXVariantMap &other) |
| | Adopt map from another map; the other map becomes empty.
|
| |
|
FXival | find (const FXchar *ky) const |
| | Find slot index for key; return -1 if not found.
|
| |
|
FXival | find (const FXString &ky) const |
| | Find slot index for key; return -1 if not found.
|
| |
|
FXbool | has (const FXchar *ky) const |
| | Check if key is mapped.
|
| |
|
FXbool | has (const FXString &ky) const |
| | Check if key is mapped.
|
| |
|
FXVariant & | at (const FXchar *ky) |
| | Return reference to variant assocated with key.
|
| |
|
const FXVariant & | at (const FXchar *ky) const |
| | Return constant reference to variant assocated with key.
|
| |
|
FXVariant & | at (const FXString &ky) |
| | Return reference to variant assocated with key.
|
| |
|
const FXVariant & | at (const FXString &ky) const |
| | Return constant reference to variant assocated with key.
|
| |
|
FXVariant & | operator[] (const FXchar *ky) |
| | Return reference to variant assocated with key.
|
| |
|
const FXVariant & | operator[] (const FXchar *ky) const |
| | Return constant reference to variant assocated with key.
|
| |
|
FXVariant & | operator[] (const FXString &ky) |
| | Return reference to variant assocated with key.
|
| |
|
const FXVariant & | operator[] (const FXString &ky) const |
| | Return constant reference to variant assocated with key.
|
| |
|
FXbool | remove (const FXchar *ky) |
| | Remove entry from the table.
|
| |
|
FXbool | remove (const FXString &ky) |
| | Remove entry from the table.
|
| |
|
FXbool | erase (FXival pos) |
| | Erase entry at pos in the table.
|
| |
|
FXbool | empty (FXival pos) const |
| | Return true if slot at pos is empty.
|
| |
|
const FXString & | key (FXival pos) const |
| | Return key value at slot pos; may be empty!
|
| |
|
FXVariant & | data (FXival pos) |
| | Return reference to data at slot s; but careful as assignment to empty slot is dangerous!!
|
| |
|
const FXVariant & | data (FXival pos) const |
| | Return value at slot pos; may be empty!
|
| |
|
FXbool | clear () |
| | Clear the table.
|
| |
|
| ~FXVariantMap () |
| | Destructor.
|
| |
Variant map associates strings to variants using fast hash table.