![]() |
Public API Reference |
#include <scfstrset.h>
Inheritance diagram for csScfStringSet:
Public Methods | |
csScfStringSet () | |
Create an empty scfStringSet object. More... | |
csScfStringSet (uint32 size) | |
Create an scfStringSet object and set the size of the hash. More... | |
virtual | ~csScfStringSet () |
Destructor. More... | |
virtual csStringID | Request (const char *s) |
Request the ID for the given string. More... | |
virtual const char * | Request (csStringID id) |
Request the string for a given ID. More... | |
virtual void | Clear () |
Delete all stored strings. More... |
Definition at line 26 of file scfstrset.h.
|
Create an empty scfStringSet object.
Definition at line 34 of file scfstrset.h. References SCF_CONSTRUCT_IBASE. |
|
Create an scfStringSet object and set the size of the hash.
Definition at line 38 of file scfstrset.h. References SCF_CONSTRUCT_IBASE, and uint32. |
|
Destructor.
Definition at line 42 of file scfstrset.h. |
|
Delete all stored strings. When new strings are registered again, new ID values will be used, not the old ones reused. Implements iStringSet. |
|
Request the string for a given ID. Return 0 if the string has not been requested (yet). Implements iStringSet. |
|
Request the ID for the given string. Create a new ID if the string was never requested before. Implements iStringSet. |