String dictionary maps a character string to a character string.
Inheritance:
Public Methods
-
FXStringDict()
- Construct a string dictionary
-
const FXchar* insert(const FXchar* ky, const FXchar* str, FXbool mrk=FALSE)
- Insert a new string indexed by key, with given mark flag
-
const FXchar* replace(const FXchar* ky, const FXchar* str, FXbool mrk=FALSE)
- Replace or insert a new string indexed by key, unless given mark is lower that the existing mark
-
const FXchar* remove(const FXchar* ky)
- Remove entry indexed by key
-
const FXchar* find(const FXchar* ky) const
- Return the entry indexed by key, or return NULL if the key does not exist
-
const FXchar* data(FXuint pos) const
- Return the string at position pos
-
virtual ~FXStringDict()
- Destructor
Inherited from FXDict:
Public Methods
-
FXint size() const
-
void size(FXint m)
-
FXint no() const
-
const FXchar* key(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()
Protected Methods
-
virtual void* createData(const void*)
-
virtual void deleteData(void*)
Public Methods
-
const FXchar* getClassName() const
-
FXbool isMemberOf(const FXMetaClass* metaclass) const
-
virtual void save(FXStream& store) const
-
virtual void load(FXStream& store)
Documentation
String dictionary maps a character string to a character string.
The inserted strings are copied when they're inserted.
FXStringDict()
- Construct a string dictionary
const FXchar* insert(const FXchar* ky, const FXchar* str, FXbool mrk=FALSE)
- Insert a new string indexed by key, with given mark flag
const FXchar* replace(const FXchar* ky, const FXchar* str, FXbool mrk=FALSE)
- Replace or insert a new string indexed by key, unless given mark is lower that the existing mark
const FXchar* remove(const FXchar* ky)
- Remove entry indexed by key
const FXchar* find(const FXchar* ky) const
- Return the entry indexed by key, or return NULL if the key does not exist
const FXchar* data(FXuint pos) const
- Return the string at position pos
virtual ~FXStringDict()
- Destructor
- This class has no child classes.
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.