MofileReader
|
Describes the "Header" of a .mo-File. More...
#include <moFileReader.hpp>
Public Types | |
typedef std::deque< moTranslationPairInformation > | moTranslationPairList |
Type for the list of all Translation-Pair-Descriptions. More... | |
Public Member Functions | |
moFileInfo () | |
Constructor. More... | |
Public Attributes | |
int | m_magicNumber |
The Magic Number, compare it to g_MagicNumber. More... | |
int | m_fileVersion |
The File Version, 0 atm according to the manpage. More... | |
int | m_numStrings |
Number of Strings in the .mo-file. More... | |
int | m_offsetOriginal |
Offset of the Table of the Original Strings. More... | |
int | m_offsetTranslation |
Offset of the Table of the Translated Strings. More... | |
int | m_sizeHashtable |
Size of 1 Entry in the Hashtable. More... | |
int | m_offsetHashtable |
The Offset of the Hashtable. More... | |
bool | m_reversed |
Tells you if the bytes are reversed. More... | |
moTranslationPairList | m_translationPairInformation |
A list containing offset and length of the strings in the file. More... | |
Describes the "Header" of a .mo-File.
The File info keeps the header of a .mo-file and a list of the string-descriptions. The typedef is for the type of the string-list. The constructor ensures, that all members get a nice initial value.
Definition at line 232 of file moFileReader.hpp.
typedef std::deque<moTranslationPairInformation> moFileInfo::moTranslationPairList |
Type for the list of all Translation-Pair-Descriptions.
Definition at line 235 of file moFileReader.hpp.
|
inline |
Constructor.
Definition at line 238 of file moFileReader.hpp.
int moFileInfo::m_fileVersion |
The File Version, 0 atm according to the manpage.
Definition at line 248 of file moFileReader.hpp.
int moFileInfo::m_magicNumber |
The Magic Number, compare it to g_MagicNumber.
Definition at line 245 of file moFileReader.hpp.
int moFileInfo::m_numStrings |
Number of Strings in the .mo-file.
Definition at line 251 of file moFileReader.hpp.
int moFileInfo::m_offsetHashtable |
The Offset of the Hashtable.
Definition at line 263 of file moFileReader.hpp.
int moFileInfo::m_offsetOriginal |
Offset of the Table of the Original Strings.
Definition at line 254 of file moFileReader.hpp.
int moFileInfo::m_offsetTranslation |
Offset of the Table of the Translated Strings.
Definition at line 257 of file moFileReader.hpp.
bool moFileInfo::m_reversed |
Tells you if the bytes are reversed.
Definition at line 268 of file moFileReader.hpp.
int moFileInfo::m_sizeHashtable |
Size of 1 Entry in the Hashtable.
Definition at line 260 of file moFileReader.hpp.
moTranslationPairList moFileInfo::m_translationPairInformation |
A list containing offset and length of the strings in the file.
Definition at line 271 of file moFileReader.hpp.