CrystalSpace

Public API Reference

Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

csScfStringSet Class Reference

This is a thin SCF wrapper around csStringSet. More...

#include <scfstrset.h>

Inheritance diagram for csScfStringSet:

iStringSet iBase List of all members.

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...


Detailed Description

This is a thin SCF wrapper around csStringSet.

Definition at line 26 of file scfstrset.h.


Constructor & Destructor Documentation

csScfStringSet::csScfStringSet   [inline]
 

Create an empty scfStringSet object.

Definition at line 34 of file scfstrset.h.

References SCF_CONSTRUCT_IBASE.

csScfStringSet::csScfStringSet uint32    size [inline]
 

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.

virtual csScfStringSet::~csScfStringSet   [inline, virtual]
 

Destructor.

Definition at line 42 of file scfstrset.h.


Member Function Documentation

virtual void csScfStringSet::Clear   [virtual]
 

Delete all stored strings.

When new strings are registered again, new ID values will be used, not the old ones reused.

Implements iStringSet.

virtual const char* csScfStringSet::Request csStringID    id [virtual]
 

Request the string for a given ID.

Return 0 if the string has not been requested (yet).

Implements iStringSet.

virtual csStringID csScfStringSet::Request const char *    s [virtual]
 

Request the ID for the given string.

Create a new ID if the string was never requested before.

Implements iStringSet.


The documentation for this class was generated from the following file:
Generated for Crystal Space by doxygen 1.2.14