Torque2D Reference
Loading...
Searching...
No Matches
TiXmlString Class Reference

#include <tinystr.h>

Inheritance diagram for TiXmlString:

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 = static_cast< TiXmlString::size_type >(-1)

Member Typedef Documentation

◆ size_type

typedef size_t size_type

Constructor & Destructor Documentation

◆ TiXmlString() [1/4]

TiXmlString ( )
inline

◆ TiXmlString() [2/4]

TiXmlString ( const TiXmlString & copy)
inline

◆ TiXmlString() [3/4]

TIXML_EXPLICIT TiXmlString ( const char * copy)
inline

◆ TiXmlString() [4/4]

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

◆ ~TiXmlString()

~TiXmlString ( )
inline

Member Function Documentation

◆ append()

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

◆ assign()

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

◆ at()

const char & at ( size_type index) const
inline

◆ c_str()

const char * c_str ( ) const
inline

◆ capacity()

size_type capacity ( ) const
inline

◆ clear()

void clear ( )
inline

◆ data()

const char * data ( ) const
inline

◆ empty()

bool empty ( ) const
inline

◆ find() [1/2]

size_type find ( char lookup) const
inline

◆ find() [2/2]

size_type find ( char tofind,
size_type offset ) const
inline

◆ length()

size_type length ( ) const
inline

◆ operator+=() [1/3]

TiXmlString & operator+= ( char single)
inline

◆ operator+=() [2/3]

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

◆ operator+=() [3/3]

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

◆ operator=() [1/2]

TiXmlString & operator= ( const char * copy)
inline

◆ operator=() [2/2]

TiXmlString & operator= ( const TiXmlString & copy)
inline

◆ operator[]()

char & operator[] ( size_type index) const
inline

◆ reserve()

void reserve ( size_type cap)

◆ size()

size_type size ( ) const
inline

◆ swap()

void swap ( TiXmlString & other)
inline

Member Data Documentation

◆ npos

const TiXmlString::size_type npos = static_cast< TiXmlString::size_type >(-1)
static

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