iStringSet Struct Reference
[Utilities]
The string set is a list of strings, all with different content.
More...
#include <strset.h>
Inheritance diagram for iStringSet:

Public Methods | |
virtual csStringID | Request (const char *s)=0 |
Request the ID for the given string. | |
virtual const char * | Request (csStringID id)=0 |
Request the string for a given ID. | |
virtual void | Clear ()=0 |
Delete all stored strings. |
Detailed Description
The string set is a list of strings, all with different content.Each string has an ID number. The most important operation is to request a string, which means to return the ID for the string, adding it to the list if it is not already there.
Definition at line 39 of file strset.h.
Member Function Documentation
|
Delete all stored strings. When new strings are registered again, new ID values will be used, not the old ones reused. Implemented in csScfStringSet. |
|
Request the string for a given ID. Return 0 if the string has not been requested (yet). Implemented in csScfStringSet. |
|
Request the ID for the given string. Create a new ID if the string was never requested before. Implemented in csScfStringSet. |
The documentation for this struct was generated from the following file:
- iutil/strset.h
Generated for Crystal Space by doxygen 1.2.18