C12Adapter Opensource C++ Interface
|
Message file, internal implementation of file with international strings. More...
Public Member Functions | |
MMessageFile (const MStdString &fileName, const MStdString &domain) | |
Constructor that builds message file. | |
~MMessageFile () | |
Destructor that destroys message file. | |
const MStdString & | GetDomain () const |
Access domain of this message source. | |
void | SetDomain (const MStdString &domain) |
Assign domain of this message source. | |
const MStdString & | GetFileName () const |
Access file name where this object is stored. | |
const char * | Translate (MConstLocalChars str, unsigned &strSize) const |
Translate the given English string using this message file. More... | |
Message file, internal implementation of file with international strings.
const char* MMessageFile::Translate | ( | MConstLocalChars | str, |
unsigned & | strSize | ||
) | const |
Translate the given English string using this message file.
The string size given shall be correct.