osgEarth 2.1.1
|
#include "tinystr.h"
Go to the source code of this file.
Functions | |
TiXmlString | operator+ (const TiXmlString &a, const TiXmlString &b) |
TiXmlString | operator+ (const TiXmlString &a, const char *b) |
TiXmlString | operator+ (const char *a, const TiXmlString &b) |
TiXmlString operator+ | ( | const TiXmlString & | a, |
const TiXmlString & | b | ||
) |
Definition at line 86 of file tinystr.cpp.
{ TiXmlString tmp; tmp.reserve(a.length() + b.length()); tmp += a; tmp += b; return tmp; }
TiXmlString operator+ | ( | const char * | a, |
const TiXmlString & | b | ||
) |
Definition at line 105 of file tinystr.cpp.
{ TiXmlString tmp; TiXmlString::size_type a_len = static_cast<TiXmlString::size_type>( strlen(a) ); tmp.reserve(a_len + b.length()); tmp.append(a, a_len); tmp += b; return tmp; }
TiXmlString operator+ | ( | const TiXmlString & | a, |
const char * | b | ||
) |
Definition at line 95 of file tinystr.cpp.
{ TiXmlString tmp; TiXmlString::size_type b_len = static_cast<TiXmlString::size_type>( strlen(b) ); tmp.reserve(a.length() + b_len); tmp += a; tmp.append(b, b_len); return tmp; }