The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Classes | Functions
tstring.hpp File Reference
#include <boost/shared_ptr.hpp>
#include <string>
Include dependency graph for tstring.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  t_string_base
 
class  t_string_base::walker
 
class  t_string
 

Functions

size_t hash_value (const t_string_base &str)
 
std::ostream & operator<< (std::ostream &, const t_string_base &)
 
std::ostream & operator<< (std::ostream &os, const t_string &str)
 
bool operator== (const std::string &a, const t_string &b)
 
bool operator== (const char *a, const t_string &b)
 
bool operator!= (const std::string &a, const t_string &b)
 
bool operator!= (const char *a, const t_string &b)
 
t_string operator+ (const std::string &a, const t_string &b)
 
t_string operator+ (const char *a, const t_string &b)
 

Function Documentation

size_t hash_value ( const t_string_base str)
inline

Definition at line 110 of file tstring.hpp.

References t_string_base::hash_value().

bool operator!= ( const std::string a,
const t_string b 
)
inline

Definition at line 188 of file tstring.hpp.

bool operator!= ( const char *  a,
const t_string b 
)
inline

Definition at line 189 of file tstring.hpp.

t_string operator+ ( const std::string a,
const t_string b 
)
inline

Definition at line 190 of file tstring.hpp.

t_string operator+ ( const char *  a,
const t_string b 
)
inline

Definition at line 191 of file tstring.hpp.

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

Definition at line 511 of file tstring.cpp.

std::ostream& operator<< ( std::ostream &  os,
const t_string str 
)
inline

Definition at line 185 of file tstring.hpp.

References t_string::get().

bool operator== ( const std::string a,
const t_string b 
)
inline

Definition at line 186 of file tstring.hpp.

bool operator== ( const char *  a,
const t_string b 
)
inline

Definition at line 187 of file tstring.hpp.