#include <tinystr.h>

Inheritance diagram for TiXmlString:
Inheritance graph

Public Types

typedef size_t size_type
 

Public Member Functions

 TiXmlString ()
 
 TiXmlString (const TiXmlString &copy)
 
TIXML_EXPLICIT TiXmlString (const char *copy)
 
TIXML_EXPLICIT TiXmlString (const char *str, size_type len)
 
 ~TiXmlString ()
 
TiXmlStringoperator= (const char *copy)
 
TiXmlStringoperator= (const TiXmlString &copy)
 
TiXmlStringoperator+= (const char *suffix)
 
TiXmlStringoperator+= (char single)
 
TiXmlStringoperator+= (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)
 
TiXmlStringassign (const char *str, size_type len)
 
TiXmlStringappend (const char *str, size_type len)
 
void swap (TiXmlString &other)
 

Static Public Attributes

static const size_type npos
 

Member Typedef Documentation

typedef size_t TiXmlString::size_type

Constructor & Destructor Documentation

TiXmlString::TiXmlString ( )
inline
TiXmlString::TiXmlString ( const TiXmlString copy)
inline

References data(), and length().

TIXML_EXPLICIT TiXmlString::TiXmlString ( const char *  copy)
inline

References length().

TIXML_EXPLICIT TiXmlString::TiXmlString ( const char *  str,
size_type  len 
)
inline
TiXmlString::~TiXmlString ( )
inline

Member Function Documentation

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

Referenced by operator+=().

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

Referenced by operator=().

const char& TiXmlString::at ( size_type  index) const
inline

References length().

const char* TiXmlString::c_str ( ) const
inline

Referenced by find(), operator<(), and operator==().

size_type TiXmlString::capacity ( ) const
inline
void TiXmlString::clear ( )
inline
const char* TiXmlString::data ( ) const
inline

Referenced by operator+=(), and TiXmlString().

bool TiXmlString::empty ( ) const
inline
size_type TiXmlString::find ( char  lookup) const
inline
size_type TiXmlString::find ( char  tofind,
size_type  offset 
) const
inline

References c_str(), length(), and npos.

size_type TiXmlString::length ( ) const
inline
TiXmlString& TiXmlString::operator+= ( const char *  suffix)
inline

References append().

TiXmlString& TiXmlString::operator+= ( char  single)
inline

References append().

TiXmlString& TiXmlString::operator+= ( const TiXmlString suffix)
inline

References append(), data(), and length().

TiXmlString& TiXmlString::operator= ( const char *  copy)
inline

References assign().

TiXmlString& TiXmlString::operator= ( const TiXmlString copy)
inline

References assign(), and length().

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

References length().

void TiXmlString::reserve ( size_type  cap)
size_type TiXmlString::size ( ) const
inline
void TiXmlString::swap ( TiXmlString other)
inline

Member Data Documentation

const size_type TiXmlString::npos
static

Referenced by find().


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