#include <tinystr.h>
Inherited by TiXmlOutStream.
Inheritance diagram for TiXmlString:


Public Types | |
| typedef unsigned int | size_type |
Public Member Functions | |
| TiXmlString () | |
| TiXmlString (const TiXmlString ©) | |
| TiXmlString (const char *copy) | |
| TiXmlString (const char *str, size_type len) | |
| ~TiXmlString () | |
| TiXmlString & | operator= (const char *copy) |
| TiXmlString & | operator= (const TiXmlString ©) |
| TiXmlString & | operator+= (const char *suffix) |
| TiXmlString & | operator+= (char single) |
| TiXmlString & | operator+= (const TiXmlString &suffix) |
| const char * | c_str () const |
| const char * | data () const |
| size_type | length () const |
| size_type | size () const |
| bool | empty () const |
| size_type | capacity () const |
| const char & | at (size_type index) const |
| char & | operator[] (size_type index) const |
| size_type | find (char lookup) const |
| size_type | find (char tofind, size_type offset) const |
| void | clear () |
| void | reserve (size_type cap) |
| TiXmlString & | assign (const char *str, size_type len) |
| TiXmlString & | append (const char *str, size_type len) |
| void | swap (TiXmlString &other) |
Static Public Attributes | |
| static const size_type | npos = static_cast< size_type >(-1) |
Private Member Functions | |
| void | init (size_type sz) |
| void | set_size (size_type sz) |
| char * | start () const |
| char * | finish () const |
| void | init (size_type sz, size_type cap) |
| void | quit () |
Private Attributes | |
| Rep * | rep_ |
Static Private Attributes | |
| static Rep | nullrep_ = { 0, 0, '\0' } |
Classes | |
| struct | Rep |
Definition at line 52 of file tinystr.h.
|
|
|
|
|
|
|
|
Definition at line 68 of file tinystr.h. References data(), init(), length(), and start(). Here is the call graph for this function: ![]() |
|
|
Definition at line 75 of file tinystr.h. References init(), length(), and start(). Here is the call graph for this function: ![]() |
|
||||||||||||
|
Definition at line 82 of file tinystr.h. References init(), and start(). Here is the call graph for this function: ![]() |
|
|
Definition at line 89 of file tinystr.h. References quit(). Here is the call graph for this function: ![]() |
|
||||||||||||
|
Definition at line 72 of file tinystr.cpp. References capacity(), finish(), length(), reserve(), and set_size(). Referenced by operator+(), and operator+=(). Here is the call graph for this function: ![]() |
|
||||||||||||
|
Definition at line 53 of file tinystr.cpp. References capacity(), init(), set_size(), start(), and swap(). Referenced by operator=(). Here is the call graph for this function: ![]() |
|
|
Definition at line 146 of file tinystr.h. References length(), rep_, and TiXmlString::Rep::str. Here is the call graph for this function: ![]() |
|
|
Definition at line 127 of file tinystr.h. References rep_, and TiXmlString::Rep::str. Referenced by find(), operator<(), and operator==(). |
|
|
Definition at line 142 of file tinystr.h. References TiXmlString::Rep::capacity, and rep_. |
|
|
Definition at line 177 of file tinystr.h. References init(), and quit(). Here is the call graph for this function: ![]() |
|
|
Definition at line 130 of file tinystr.h. References rep_, and TiXmlString::Rep::str. Referenced by operator+=(), and TiXmlString(). |
|
|
Definition at line 139 of file tinystr.h. References rep_, and TiXmlString::Rep::size. |
|
||||||||||||
|
Definition at line 166 of file tinystr.h. References c_str(), length(), and npos. Here is the call graph for this function: ![]() |
|
|
|
|
|
Definition at line 208 of file tinystr.h. References rep_, TiXmlString::Rep::size, and TiXmlString::Rep::str. Referenced by append(). |
|
||||||||||||
|
Definition at line 216 of file tinystr.h. References TiXmlString::Rep::capacity, nullrep_, rep_, TiXmlString::Rep::size, and TiXmlString::Rep::str. |
|
|
Definition at line 205 of file tinystr.h. Referenced by assign(), clear(), reserve(), and TiXmlString(). |
|
|
Definition at line 133 of file tinystr.h. References rep_, and TiXmlString::Rep::size. Referenced by append(), at(), find(), operator+(), operator+=(), operator=(), operator==(), operator[](), and TiXmlString(). |
|
|
Definition at line 120 of file tinystr.h. References append(), data(), and length(). Here is the call graph for this function: ![]() |
|
|
Definition at line 114 of file tinystr.h. References append(). Here is the call graph for this function: ![]() |
|
|
Definition at line 108 of file tinystr.h. References append(). Here is the call graph for this function: ![]() |
|
|
Definition at line 101 of file tinystr.h. References assign(), length(), and start(). Here is the call graph for this function: ![]() |
|
|
Definition at line 95 of file tinystr.h. References assign(). Here is the call graph for this function: ![]() |
|
|
Definition at line 153 of file tinystr.h. References length(), rep_, and TiXmlString::Rep::str. Here is the call graph for this function: ![]() |
|
|
Definition at line 238 of file tinystr.h. References nullrep_, and rep_. Referenced by clear(), and ~TiXmlString(). |
|
|
Definition at line 41 of file tinystr.cpp. References init(), and start(). Referenced by append(), and operator+(). Here is the call graph for this function: ![]() |
|
|
Definition at line 206 of file tinystr.h. References rep_, TiXmlString::Rep::size, and TiXmlString::Rep::str. |
|
|
Definition at line 136 of file tinystr.h. References rep_, and TiXmlString::Rep::size. |
|
|
Definition at line 207 of file tinystr.h. References rep_, and TiXmlString::Rep::str. Referenced by assign(), operator=(), reserve(), and TiXmlString(). |
|
|
Definition at line 196 of file tinystr.h. References rep_. Referenced by assign(). |
|
|
Definition at line 59 of file tinystr.h. Referenced by find(). |
|
|
|
|
|
Definition at line 248 of file tinystr.h. Referenced by at(), c_str(), capacity(), data(), empty(), finish(), init(), length(), operator[](), quit(), set_size(), size(), start(), and swap(). |
1.4.5