Overview   Project   Class   Tree   Deprecated   Index 
0 A.D.
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD

i18n
CLocale

   in CLocale.cpp

CLocale


Constructor Summary
~CLocale()
          
 
Method Summary
 TranslatedString& AddDefaultString( const wchar_t* id )
          
 void AddToCache( StringBuffer* sb, Str& str )
          
 const StrImW CallFunction( const char* name, const std::vector< BufferVariable* >& vars, const std::vector< ScriptValue* >& params )
          
 void ClearCache()
          
 bool LoadDictionary( const char* data )
          
 bool LoadFunctions( const char* data, size_t len, const char* filename )
          
 bool LoadStrings( const char* data )
          
 bool LookupProperty( const LookupType* data, const Str& property, Str& result )
          
 const CLocale::LookupType* LookupWord( const Str& dictname, const Str& word )
          
 bool ReadCached( StringBuffer* sb, Str& str )
          
 StringBuffer Translate( const wchar_t* id )
          
 void UnloadDictionaries()
          
 

Constructor Detail

~CLocale

 ~CLocale();


Method Detail

AddDefaultString

 TranslatedString& AddDefaultString( const wchar_t* id );

AddToCache

 void AddToCache( StringBuffer* sb, Str& str );

CallFunction

 const StrImW CallFunction( const char* name, const std::vector< BufferVariable* >& vars, const std::vector< ScriptValue* >& params );

ClearCache

 void ClearCache();

LoadDictionary

 bool LoadDictionary( const char* data );

LoadFunctions

 bool LoadFunctions( const char* data, size_t len, const char* filename );

LoadStrings

 bool LoadStrings( const char* data );

LookupProperty

 bool LookupProperty( const LookupType* data, const Str& property, Str& result );

LookupWord

 const CLocale::LookupType* LookupWord( const Str& dictname, const Str& word );

ReadCached

 bool ReadCached( StringBuffer* sb, Str& str );

Translate

 StringBuffer Translate( const wchar_t* id );

UnloadDictionaries

 void UnloadDictionaries();

 Overview   Project   Class   Tree   Deprecated   Index 
0 A.D.
Generated on September 04, 2007 at 18:13
CppDoc v2.4.0
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD