VCF::StringsMessageLoader Class Reference
#include <vcf/FoundationKit/StringsMessageLoader.h>
Inheritance diagram for VCF::StringsMessageLoader:

Public Member Functions | |
| StringsMessageLoader () | |
| virtual | ~StringsMessageLoader () |
| virtual void | loadMessageFile (const UnicodeString &fileName) |
| Loads the contents of the message file specified by the file named fileName into the memory of this MessageLoader instance. | |
| virtual UnicodeString | getMessageFromID (const UnicodeString &id) |
| returns the translated string for the given string id. | |
Protected Types | |
| typedef std::pair< UnicodeString, UnicodeString > | KeyValPair |
| typedef std::map< UnicodeString, UnicodeString > | KeyValMap |
| typedef std::map< UnicodeString, KeyValMap * > | TranslationMap |
| enum | ParseState { psToken, psComment, psKey, psAssignment, psValue, psEscapeSequence } |
Protected Member Functions | |
| void | processEscapeSequence (UnicodeString &escapeSeqString, UnicodeString &tokenString) |
Protected Attributes | |
| TranslationMap | translationTable_ |
| ParseState | parseState_ |
| UnicodeString | currentTableName_ |
Classes | |
| class | Exception |
Member Typedef Documentation
|
|
|
|
|
|
|
|
|
Member Enumeration Documentation
|
|
|
Constructor & Destructor Documentation
|
|
|
|
|
|
Member Function Documentation
|
|
returns the translated string for the given string id.
Implements VCF::MessageLoader. |
|
|
Loads the contents of the message file specified by the file named fileName into the memory of this MessageLoader instance.
Implements VCF::MessageLoader. |
|
||||||||||||
|
|
Member Data Documentation
|
|
|
|
|
|
|
|
|
The documentation for this class was generated from the following file:
- vcf/FoundationKit/StringsMessageLoader.h
