Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

TiXmlString Class Reference

#include <tinystr.h>

Inheritance diagram for TiXmlString:

Inheritance graph
[legend]
Collaboration diagram for TiXmlString:

Collaboration graph
[legend]
List of all members.

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

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

Reprep_

Static Private Attributes

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

Member Typedef Documentation

typedef size_t TiXmlString::size_type
 


Constructor & Destructor Documentation

TiXmlString::TiXmlString  )  [inline]
 

TiXmlString::TiXmlString const TiXmlString copy  )  [inline]
 

TIXML_EXPLICIT TiXmlString::TiXmlString const char *  copy  )  [inline]
 

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
 

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

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

const char* TiXmlString::c_str  )  const [inline]
 

size_type TiXmlString::capacity  )  const [inline]
 

void TiXmlString::clear  )  [inline]
 

const char* TiXmlString::data  )  const [inline]
 

bool TiXmlString::empty  )  const [inline]
 

size_type TiXmlString::find char  tofind,
size_type  offset
const [inline]
 

size_type TiXmlString::find char  lookup  )  const [inline]
 

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

void TiXmlString::init size_type  sz,
size_type  cap
[inline, private]
 

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

size_type TiXmlString::length  )  const [inline]
 

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

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

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

TiXmlString& TiXmlString::operator= const TiXmlString copy  )  [inline]
 

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

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

void TiXmlString::quit  )  [inline, private]
 

void TiXmlString::reserve size_type  cap  ) 
 

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

size_type TiXmlString::size  )  const [inline]
 

char* TiXmlString::start  )  const [inline, private]
 

void TiXmlString::swap TiXmlString other  )  [inline]
 


Member Data Documentation

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

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

Rep* TiXmlString::rep_ [private]
 


The documentation for this class was generated from the following files:
Generated for TinyXPath by doxygen SourceForge Logo