DDraceNetwork Docs
CLocalizationDatabase Class Reference

#include <localization.h>

Collaboration diagram for CLocalizationDatabase:
[legend]

Classes

class  CString
 

Public Member Functions

void LoadIndexfile (class IStorage *pStorage, class IConsole *pConsole)
 
const std::vector< CLanguage > & Languages () const
 
void SelectDefaultLanguage (class IConsole *pConsole, char *pFilename, size_t Length) const
 
bool Load (const char *pFilename, class IStorage *pStorage, class IConsole *pConsole)
 
void AddString (const char *pOrgStr, const char *pNewStr, const char *pContext)
 
const char * FindString (unsigned Hash, unsigned ContextHash) const
 

Private Attributes

std::vector< CLanguagem_vLanguages
 
std::vector< CStringm_vStrings
 
CHeap m_StringsHeap
 

Member Function Documentation

◆ AddString()

void CLocalizationDatabase::AddString ( const char *  pOrgStr,
const char *  pNewStr,
const char *  pContext 
)

◆ FindString()

const char * CLocalizationDatabase::FindString ( unsigned  Hash,
unsigned  ContextHash 
) const

◆ Languages()

const std::vector< CLanguage > & CLocalizationDatabase::Languages ( ) const
inline

◆ Load()

bool CLocalizationDatabase::Load ( const char *  pFilename,
class IStorage pStorage,
class IConsole pConsole 
)

◆ LoadIndexfile()

void CLocalizationDatabase::LoadIndexfile ( class IStorage pStorage,
class IConsole pConsole 
)

◆ SelectDefaultLanguage()

void CLocalizationDatabase::SelectDefaultLanguage ( class IConsole pConsole,
char *  pFilename,
size_t  Length 
) const

Member Data Documentation

◆ m_StringsHeap

CHeap CLocalizationDatabase::m_StringsHeap
private

◆ m_vLanguages

std::vector<CLanguage> CLocalizationDatabase::m_vLanguages
private

◆ m_vStrings

std::vector<CString> CLocalizationDatabase::m_vStrings
private

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