#include <tinystr.h>
Classes | |
struct | Rep |
Public Types | |
typedef size_t | size_type |
Public Member Functions | |
TiXmlString & | append (const char *str, size_type len) |
TiXmlString & | assign (const char *str, size_type len) |
const char & | at (size_type index) const |
const char * | c_str () const |
size_type | capacity () const |
void | clear () |
const char * | data () const |
bool | empty () const |
size_type | find (char lookup) const |
size_type | find (char tofind, size_type offset) const |
size_type | length () const |
TiXmlString & | operator+= (const char *suffix) |
TiXmlString & | operator+= (char single) |
TiXmlString & | operator+= (const TiXmlString &suffix) |
TiXmlString & | operator= (const char *copy) |
TiXmlString & | operator= (const TiXmlString ©) |
char & | operator[] (size_type index) const |
void | reserve (size_type cap) |
size_type | size () const |
void | swap (TiXmlString &other) |
TiXmlString () | |
TiXmlString (const TiXmlString ©) | |
TIXML_EXPLICIT | TiXmlString (const char *copy) |
TIXML_EXPLICIT | TiXmlString (const char *str, size_type len) |
~TiXmlString () | |
Static Public Attributes | |
static const size_type | npos = static_cast< TiXmlString::size_type >(-1) |
Private Member Functions | |
char * | finish () const |
void | init (size_type sz) |
void | init (size_type sz, size_type cap) |
void | quit () |
void | set_size (size_type sz) |
char * | start () const |
Private Attributes | |
Rep * | rep_ |
Static Private Attributes | |
static Rep | nullrep_ = { 0, 0, { '\0' } } |
typedef size_t rospack_tinyxml::TiXmlString::size_type |
rospack_tinyxml::TiXmlString::TiXmlString | ( | ) | [inline] |
rospack_tinyxml::TiXmlString::TiXmlString | ( | const TiXmlString & | copy | ) | [inline] |
TIXML_EXPLICIT rospack_tinyxml::TiXmlString::TiXmlString | ( | const char * | copy | ) | [inline] |
TIXML_EXPLICIT rospack_tinyxml::TiXmlString::TiXmlString | ( | const char * | str, |
size_type | len | ||
) | [inline] |
rospack_tinyxml::TiXmlString::~TiXmlString | ( | ) | [inline] |
TiXmlString & rospack_tinyxml::TiXmlString::append | ( | const char * | str, |
size_type | len | ||
) |
Definition at line 75 of file tinystr.cpp.
TiXmlString & rospack_tinyxml::TiXmlString::assign | ( | const char * | str, |
size_type | len | ||
) |
Definition at line 56 of file tinystr.cpp.
const char& rospack_tinyxml::TiXmlString::at | ( | size_type | index | ) | const [inline] |
const char* rospack_tinyxml::TiXmlString::c_str | ( | ) | const [inline] |
size_type rospack_tinyxml::TiXmlString::capacity | ( | ) | const [inline] |
void rospack_tinyxml::TiXmlString::clear | ( | ) | [inline] |
const char* rospack_tinyxml::TiXmlString::data | ( | ) | const [inline] |
bool rospack_tinyxml::TiXmlString::empty | ( | ) | const [inline] |
size_type rospack_tinyxml::TiXmlString::find | ( | char | lookup | ) | const [inline] |
size_type rospack_tinyxml::TiXmlString::find | ( | char | tofind, |
size_type | offset | ||
) | const [inline] |
char* rospack_tinyxml::TiXmlString::finish | ( | ) | const [inline, private] |
void rospack_tinyxml::TiXmlString::init | ( | size_type | sz | ) | [inline, private] |
void rospack_tinyxml::TiXmlString::init | ( | size_type | sz, |
size_type | cap | ||
) | [inline, private] |
size_type rospack_tinyxml::TiXmlString::length | ( | ) | const [inline] |
TiXmlString& rospack_tinyxml::TiXmlString::operator+= | ( | const char * | suffix | ) | [inline] |
TiXmlString& rospack_tinyxml::TiXmlString::operator+= | ( | char | single | ) | [inline] |
TiXmlString& rospack_tinyxml::TiXmlString::operator+= | ( | const TiXmlString & | suffix | ) | [inline] |
TiXmlString& rospack_tinyxml::TiXmlString::operator= | ( | const char * | copy | ) | [inline] |
TiXmlString& rospack_tinyxml::TiXmlString::operator= | ( | const TiXmlString & | copy | ) | [inline] |
char& rospack_tinyxml::TiXmlString::operator[] | ( | size_type | index | ) | const [inline] |
void rospack_tinyxml::TiXmlString::quit | ( | ) | [inline, private] |
void rospack_tinyxml::TiXmlString::reserve | ( | size_type | cap | ) |
Definition at line 44 of file tinystr.cpp.
void rospack_tinyxml::TiXmlString::set_size | ( | size_type | sz | ) | [inline, private] |
size_type rospack_tinyxml::TiXmlString::size | ( | ) | const [inline] |
char* rospack_tinyxml::TiXmlString::start | ( | ) | const [inline, private] |
void rospack_tinyxml::TiXmlString::swap | ( | TiXmlString & | other | ) | [inline] |
const TiXmlString::size_type rospack_tinyxml::TiXmlString::npos = static_cast< TiXmlString::size_type >(-1) [static] |
TiXmlString::Rep rospack_tinyxml::TiXmlString::nullrep_ = { 0, 0, { '\0' } } [static, private] |
Rep* rospack_tinyxml::TiXmlString::rep_ [private] |