CS::PluginCommon::ShaderCacheHelper::StringStoreWriter Class Reference (Crystal Space 2.0 Public API Reference)

| ## Public API Reference

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions
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:

- csplugincommon/shader/shadercachehelper.h