Classes | Public Types | Public Member Functions | Static Public Attributes | Private Member Functions | Private Attributes | Static Private Attributes
RTT::marsh::TiXmlString Class Reference

#include <tinystr.h>

Inheritance diagram for RTT::marsh::TiXmlString:
Inheritance graph
[legend]

List of all members.

Classes

struct  Rep

Public Types

typedef size_t size_type

Public Member Functions

TiXmlStringappend (const char *str, size_type len)
TiXmlStringassign (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
TiXmlStringoperator+= (const char *suffix)
TiXmlStringoperator+= (char single)
TiXmlStringoperator+= (const TiXmlString &suffix)
TiXmlStringoperator= (const char *copy)
TiXmlStringoperator= (const TiXmlString &copy)
char & operator[] (size_type index) const
void reserve (size_type cap)
size_type size () const
void swap (TiXmlString &other)
 TiXmlString ()
 TiXmlString (const TiXmlString &copy)
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< 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

Reprep_

Static Private Attributes

static Rep nullrep_ = { 0, 0, { '\0' } }

Detailed Description

Definition at line 106 of file tinystr.h.


Member Typedef Documentation

Definition at line 110 of file tinystr.h.


Constructor & Destructor Documentation

Definition at line 117 of file tinystr.h.

Definition at line 122 of file tinystr.h.

TIXML_EXPLICIT RTT::marsh::TiXmlString::TiXmlString ( const char *  copy) [inline]

Definition at line 129 of file tinystr.h.

TIXML_EXPLICIT RTT::marsh::TiXmlString::TiXmlString ( const char *  str,
size_type  len 
) [inline]

Definition at line 136 of file tinystr.h.

Definition at line 143 of file tinystr.h.


Member Function Documentation

TiXmlString & RTT::marsh::TiXmlString::append ( const char *  str,
size_type  len 
)

Definition at line 112 of file tinystr.cpp.

TiXmlString & RTT::marsh::TiXmlString::assign ( const char *  str,
size_type  len 
)

Definition at line 93 of file tinystr.cpp.

const char& RTT::marsh::TiXmlString::at ( size_type  index) const [inline]

Definition at line 200 of file tinystr.h.

const char* RTT::marsh::TiXmlString::c_str ( ) const [inline]

Definition at line 181 of file tinystr.h.

Definition at line 196 of file tinystr.h.

void RTT::marsh::TiXmlString::clear ( ) [inline]

Definition at line 231 of file tinystr.h.

const char* RTT::marsh::TiXmlString::data ( ) const [inline]

Definition at line 184 of file tinystr.h.

bool RTT::marsh::TiXmlString::empty ( ) const [inline]

Definition at line 193 of file tinystr.h.

size_type RTT::marsh::TiXmlString::find ( char  lookup) const [inline]

Definition at line 214 of file tinystr.h.

size_type RTT::marsh::TiXmlString::find ( char  tofind,
size_type  offset 
) const [inline]

Definition at line 220 of file tinystr.h.

char* RTT::marsh::TiXmlString::finish ( ) const [inline, private]

Definition at line 262 of file tinystr.h.

void RTT::marsh::TiXmlString::init ( size_type  sz) [inline, private]

Definition at line 259 of file tinystr.h.

void RTT::marsh::TiXmlString::init ( size_type  sz,
size_type  cap 
) [inline, private]

Definition at line 270 of file tinystr.h.

Definition at line 187 of file tinystr.h.

TiXmlString& RTT::marsh::TiXmlString::operator+= ( const char *  suffix) [inline]

Definition at line 162 of file tinystr.h.

TiXmlString& RTT::marsh::TiXmlString::operator+= ( char  single) [inline]

Definition at line 168 of file tinystr.h.

TiXmlString& RTT::marsh::TiXmlString::operator+= ( const TiXmlString suffix) [inline]

Definition at line 174 of file tinystr.h.

TiXmlString& RTT::marsh::TiXmlString::operator= ( const char *  copy) [inline]

Definition at line 149 of file tinystr.h.

TiXmlString& RTT::marsh::TiXmlString::operator= ( const TiXmlString copy) [inline]

Definition at line 155 of file tinystr.h.

char& RTT::marsh::TiXmlString::operator[] ( size_type  index) const [inline]

Definition at line 207 of file tinystr.h.

void RTT::marsh::TiXmlString::quit ( ) [inline, private]

Definition at line 292 of file tinystr.h.

Definition at line 81 of file tinystr.cpp.

void RTT::marsh::TiXmlString::set_size ( size_type  sz) [inline, private]

Definition at line 260 of file tinystr.h.

Definition at line 190 of file tinystr.h.

char* RTT::marsh::TiXmlString::start ( void  ) const [inline, private]

Definition at line 261 of file tinystr.h.

void RTT::marsh::TiXmlString::swap ( TiXmlString other) [inline]

Definition at line 250 of file tinystr.h.


Member Data Documentation

const TiXmlString::size_type RTT::marsh::TiXmlString::npos = static_cast< size_type >(-1) [static]

Definition at line 113 of file tinystr.h.

TiXmlString::Rep RTT::marsh::TiXmlString::nullrep_ = { 0, 0, { '\0' } } [static, private]

Definition at line 303 of file tinystr.h.

Definition at line 302 of file tinystr.h.


The documentation for this class was generated from the following files:


rtt
Author(s): RTT Developers
autogenerated on Mon Oct 6 2014 03:13:59