CS::PluginCommon::ShaderCacheHelper::StringStoreReader 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::StringStoreReader Class Reference

Helper to read strings written with StringStoreWriter. More...

`#include <csplugincommon/shader/shadercachehelper.h>`

List of all members.

## Public Member Functions
bool | EndUse ()
| End using the string store.
const char * | GetString (uint32 id) const
| Get a string for an ID.
bool | StartUse (iFile *file)
| Start using a string store.

## Detailed Description

Helper to read strings written with StringStoreWriter.

Definition at line 120 of file shadercachehelper.h.

## Member Function Documentation

bool CS::PluginCommon::ShaderCacheHelper::StringStoreReader::EndUse | ( |  | ) |

End using the string store.

Remarks:
  The place this is called when reading must be mirror the place this is called when writing the file!

const char* CS::PluginCommon::ShaderCacheHelper::StringStoreReader::GetString | ( | uint32 | id | ) | const

Get a string for an ID.

bool CS::PluginCommon::ShaderCacheHelper::StringStoreReader::StartUse | ( | iFile * | file | ) |

Start using a string store.

Remarks:
  The place this is called when reading must be mirror the place this is called when writing the file!

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

- csplugincommon/shader/shadercachehelper.h