CrystalSpace

Public API Reference

CS::PluginCommon::ShaderCacheHelper::StringStoreWriter Class Reference

Helper to write strings in an efficient way (each string once). More...

#include <csplugincommon/shader/shadercachehelper.h>

List of all members.

Public Member Functions

bool EndUse ()
 End string store usage.
uint32 GetID (const char *string)
 Get an ID for a string.
bool StartUse (iFile *file)
 Start using a string store.

Detailed Description

Helper to write strings in an efficient way (each string once).

Definition at line 97 of file shadercachehelper.h.


Member Function Documentation

bool CS::PluginCommon::ShaderCacheHelper::StringStoreWriter::EndUse (  ) 

End string store usage.

Remarks:
This will write more data to the file!
uint32 CS::PluginCommon::ShaderCacheHelper::StringStoreWriter::GetID ( const char *  string  ) 

Get an ID for a string.

bool CS::PluginCommon::ShaderCacheHelper::StringStoreWriter::StartUse ( iFile file  ) 

Start using a string store.

Strings will ultimatively be written to file. Call EndUse() after use.


The documentation for this class was generated from the following file:

Generated for Crystal Space 2.0 by doxygen 1.6.1