![]() |
aGrUM
0.20.3
a C++ library for (probabilistic) graphical models
|
#include <tinystr.h>
Public Member Functions | |
TiXmlString () | |
TiXmlString (const TiXmlString ©) | |
TIXML_EXPLICIT | TiXmlString (const char *copy) |
TIXML_EXPLICIT | 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 |
Public Types | |
typedef size_t | size_type |
Classes | |
struct | Rep |
typedef size_t TiXmlString::size_type |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
TiXmlString & TiXmlString::append | ( | const char * | str, |
size_type | len | ||
) |
Definition at line 65 of file tinystr.cpp.
References capacity(), length(), reserve(), and set_size().
Referenced by operator+(), and operator+=().
TiXmlString & TiXmlString::assign | ( | const char * | str, |
size_type | len | ||
) |
Definition at line 49 of file tinystr.cpp.
References capacity(), init(), set_size(), and swap().
Referenced by operator=().
|
inline |
Definition at line 149 of file tinystr.h.
References length(), rep_, and TiXmlString::Rep::str.
|
inline |
Definition at line 131 of file tinystr.h.
References rep_, and TiXmlString::Rep::str.
Referenced by find(), operator<(), and operator==().
|
inline |
|
inline |
|
inline |
Definition at line 134 of file tinystr.h.
References rep_, and TiXmlString::Rep::str.
Referenced by operator+=().
|
inline |
|
inline |
|
inlineprivate |
Definition at line 205 of file tinystr.h.
References rep_, TiXmlString::Rep::size, and TiXmlString::Rep::str.
|
inlineprivate |
Definition at line 202 of file tinystr.h.
References init().
Referenced by assign(), and TiXmlString().
Definition at line 212 of file tinystr.h.
References TiXmlString::Rep::capacity, nullrep_, rep_, TiXmlString::Rep::size, and TiXmlString::Rep::str.
Referenced by clear(), init(), and reserve().
|
inline |
Definition at line 137 of file tinystr.h.
References rep_, and TiXmlString::Rep::size.
Referenced by append(), at(), find(), operator+(), operator+=(), operator=(), operator==(), operator[](), reserve(), and TiXmlString().
|
inline |
Definition at line 118 of file tinystr.h.
Referenced by TiXmlOutStream::operator<<().
|
inline |
|
inline |
Definition at line 126 of file tinystr.h.
References append(), data(), and length().
Referenced by operator+(), and TiXmlOutStream::operator<<().
|
inline |
|
inline |
|
inline |
Definition at line 155 of file tinystr.h.
References length(), rep_, and TiXmlString::Rep::str.
|
inlineprivate |
void TiXmlString::reserve | ( | size_type | cap | ) |
Definition at line 40 of file tinystr.cpp.
References capacity(), init(), length(), and swap().
Referenced by append(), and operator+().
|
inlineprivate |
Definition at line 203 of file tinystr.h.
References rep_, TiXmlString::Rep::size, and TiXmlString::Rep::str.
Referenced by append(), and assign().
|
inline |
|
inlineprivate |
Definition at line 204 of file tinystr.h.
References rep_, and TiXmlString::Rep::str.
Referenced by operator=().
|
inline |
|
static |
|
staticprivate |
Definition at line 240 of file tinystr.h.
Referenced by init(), quit(), and TiXmlString().
|
private |
Definition at line 239 of file tinystr.h.
Referenced by at(), c_str(), capacity(), data(), empty(), finish(), init(), length(), operator[](), quit(), set_size(), size(), start(), swap(), and TiXmlString().