#include <moFileReader.h>
Public Types | |
typedef std::deque < moTranslationPairInformation > | moTranslationPairList |
Type for the list of all Translation-Pair-Descriptions. | |
Public Member Functions | |
moFileInfo () | |
Constructor. | |
Public Attributes | |
int | m_magicNumber |
The Magic Number, compare it to g_MagicNumber. | |
int | m_fileVersion |
The File Version, 0 atm according to the manpage. | |
int | m_numStrings |
Number of Strings in the .mo-file. | |
int | m_offsetOriginal |
Offset of the Table of the Original Strings. | |
int | m_offsetTranslation |
Offset of the Table of the Translated Strings. | |
int | m_sizeHashtable |
Size of 1 Entry in the Hashtable. | |
int | m_offsetHashtable |
The Offset of the Hashtable. | |
bool | m_reversed |
Tells you if the bytes are reversed. | |
moTranslationPairList | m_translationPairInformation |
A list containing offset and length of the strings in the 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.
typedef std::deque<moTranslationPairInformation> moFileLib::moFileInfo::moTranslationPairList |
Type for the list of all Translation-Pair-Descriptions.
moFileLib::moFileInfo::moFileInfo | ( | ) | [inline] |
Constructor.
The File Version, 0 atm according to the manpage.
The Magic Number, compare it to g_MagicNumber.
Number of Strings in the .mo-file.
The Offset of the Hashtable.
Offset of the Table of the Original Strings.
Offset of the Table of the Translated Strings.
Tells you if the bytes are reversed.
Size of 1 Entry in the Hashtable.
A list containing offset and length of the strings in the file.