Defines | Functions | Variables

tstring.cpp File Reference

Routines for translatable strings. More...

#include "global.hpp"
#include <map>
#include <vector>
#include "tstring.hpp"
#include "gettext.hpp"
#include "log.hpp"
#include <boost/functional/hash.hpp>
Include dependency graph for tstring.cpp:

Go to the source code of this file.

Defines

#define LOG_CF   LOG_STREAM(info, log_config)
#define ERR_CF   LOG_STREAM(err, log_config)

Functions

std::ostream & operator<< (std::ostream &stream, const t_string_base &string)

Variables

static lg::log_domain log_config ("config")
static unsigned language_counter = 0

Detailed Description

Routines for translatable strings.

Definition in file tstring.cpp.


Define Documentation

#define ERR_CF   LOG_STREAM(err, log_config)

Definition at line 34 of file tstring.cpp.

Referenced by t_string_base::walker::update().

#define LOG_CF   LOG_STREAM(info, log_config)

Definition at line 33 of file tstring.cpp.

Referenced by t_string::add_textdomain().


Function Documentation

std::ostream& operator<< ( std::ostream &  stream,
const t_string_base string 
)

Definition at line 556 of file tstring.cpp.


Variable Documentation

unsigned language_counter = 0 [static]

Definition at line 36 of file tstring.cpp.

Referenced by t_string::reset_translations(), and t_string_base::str().

lg::log_domain log_config("config") [static]
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated by doxygen 1.7.1 on Fri May 25 2012 01:10:55 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs