#include "global.hpp"
#include <sstream>
#include <vector>
#include <map>
#include "tstring.hpp"
#include "gettext.hpp"
#include "log.hpp"
Go to the source code of this file.
Defines | |
#define | LOG_CF lg::info(lg::config) |
#define | ERR_CF lg::err(lg::config) |
Functions | |
std::ostream & | operator<< (std::ostream &stream, const t_string &string) |
Variables | |
const char | TRANSLATABLE_PART = 0x01 |
const char | UNTRANSLATABLE_PART = 0x02 |
const char | TEXTDOMAIN_SEPARATOR = 0x03 |
const char | ID_TRANSLATABLE_PART = 0x04 |
const char | UNTRANSLATABLE_STRING = 0x05 |
std::vector< std::string > | id_to_textdomain |
std::map< std::string, unsigned int > | textdomain_to_id |
Definition in file tstring.cpp.
#define ERR_CF lg::err(lg::config) |
Definition at line 32 of file tstring.cpp.
#define LOG_CF lg::info(lg::config) |
Definition at line 31 of file tstring.cpp.
std::ostream& operator<< | ( | std::ostream & | stream, | |
const t_string & | string | |||
) |
Definition at line 419 of file tstring.cpp.
std::vector<std::string> id_to_textdomain [static] |
Definition at line 41 of file tstring.cpp.
Referenced by t_string::t_string(), and t_string::walker::update().
const char ID_TRANSLATABLE_PART = 0x04 [static] |
const char TEXTDOMAIN_SEPARATOR = 0x03 [static] |
Definition at line 37 of file tstring.cpp.
Referenced by t_string::to_serialized(), and t_string::walker::update().
std::map<std::string, unsigned int> textdomain_to_id [static] |
const char TRANSLATABLE_PART = 0x01 [static] |
Definition at line 35 of file tstring.cpp.
Referenced by t_string::from_serialized(), t_string::to_serialized(), and t_string::walker::update().
const char UNTRANSLATABLE_PART = 0x02 [static] |
Definition at line 36 of file tstring.cpp.
Referenced by t_string::from_serialized(), t_string::operator+=(), and t_string::walker::update().
const char UNTRANSLATABLE_STRING = 0x05 [static] |
Definition at line 39 of file tstring.cpp.
Generated by doxygen 1.5.5 on 23 May 2008 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |