15 #ifndef TSTRING_H_INCLUDED
16 #define TSTRING_H_INCLUDED
18 #include <boost/shared_ptr.hpp>
45 std::string::size_type
end_;
91 std::string::size_type
size()
const {
return str().size(); }
95 const char*
c_str()
const {
return str().c_str(); }
147 base *
nw =
new base(
get());
167 std::string::size_type
size()
const {
return get().
size(); }
t_string & operator+=(const t_string &o)
bool translatable() const
bool operator!=(const char *that) const
bool operator!=(const std::string &o) const
bool translatable() const
static void reset_translations()
t_string()
Default implementation, but defined out-of-line for efficiency reasons.
bool operator!=(const t_string &o) const
t_string operator+(const std::string &a, const t_string &b)
bool translatable() const
std::string to_serialized() const
void increase_impl(const T &other)
~t_string_base()
Default implementation, but defined out-of-line for efficiency reasons.
t_string & operator+=(const std::string &o)
size_t hash_value(const t_string_base &str)
const std::string & str() const
void swap(t_string &other)
bool operator<(const t_string_base &string) const
t_string_base operator+(const t_string_base &) const
std::string::size_type end_
bool operator!=(const std::string &that) const
const std::string & string_
const std::string & value() const
bool last_untranslatable_
std::string base_str() const
t_string_base & operator=(const t_string_base &)
Default implementation, but defined out-of-line for efficiency reasons.
unsigned translation_timestamp_
std::string translated_value_
std::string::const_iterator begin() const
boost::shared_ptr< const t_string_base > val_
GLdouble GLdouble GLdouble b
std::string::size_type begin_
std::ostream & operator<<(std::ostream &, const t_string_base &)
GLsizei const char ** path
static void add_textdomain(const std::string &name, const std::string &path)
bool operator==(const t_string &o) const
GLboolean GLboolean GLboolean GLboolean a
t_string operator+(const t_string &o) const
const t_string_base & get() const
walker(const t_string_base &string)
const char * c_str() const
t_string & operator=(const t_string &)
Default implementation, but defined out-of-line for efficiency reasons.
bool operator!=(const t_string_base &that) const
size_t hash_value() const
bool operator!=(const char *o) const
std::string base_str() const
~t_string()
Default implementation, but defined out-of-line for efficiency reasons.
static t_string from_serialized(const std::string &string)
const std::string & value() const
std::string to_serialized() const
bool operator==(const std::string &a, const t_string &b)
GLuint const GLchar * name
t_string & operator+=(const char *o)
bool operator==(const std::string &o) const
static map_location::DIRECTION nw
const std::string & textdomain() const
t_string_base::walker walker
t_string operator+(const char *o) const
t_string_base & operator+=(const t_string_base &)
bool operator==(const t_string_base &) const
bool operator!=(const std::string &a, const t_string &b)
const std::string & str() const
const char * c_str() const
t_string operator+(const std::string &o) const
std::string::size_type size() const
std::string::const_iterator end() const
bool operator==(const char *o) const
bool operator<(const t_string &o) const
GLsizei const GLcharARB ** string
static t_string_base from_serialized(const std::string &string)
std::string::size_type size() const