Public Types | Public Member Functions | Protected Member Functions | Protected Attributes

TiXmlString Class Reference

#include <tinystr.h>

Inheritance diagram for TiXmlString:
Inheritance graph
[legend]

List of all members.

Public Types

Public Member Functions

Protected Member Functions

Protected Attributes


Member Enumeration Documentation

anonymous enum
Enumerator:
notfound 
npos 

Constructor & Destructor Documentation

TiXmlString::TiXmlString ( const char *  instring  ) 

References allocated, cstring, and current_length.

TiXmlString::TiXmlString (  )  [inline]

References allocated, cstring, and current_length.

TiXmlString::TiXmlString ( const TiXmlString copy  ) 

References allocated, cstring, current_length, and length().

Here is the call graph for this function:

TiXmlString::~TiXmlString (  )  [inline]

References empty_it().

Here is the call graph for this function:


Member Function Documentation

const char* TiXmlString::c_str (  )  const [inline]
unsigned TiXmlString::length (  )  const [inline]

References allocated, and current_length.

Referenced by append(), at(), TiXmlText::Blank(), empty(), find(), operator=(), operator[](), and TiXmlString().

Here is the caller graph for this function:

void TiXmlString::operator= ( const char *  content  ) 

References allocated, cstring, current_length, and empty_it().

Here is the call graph for this function:

void TiXmlString::operator= ( const TiXmlString copy  ) 

References allocated, c_str(), cstring, current_length, empty_it(), and length().

Here is the call graph for this function:

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

References append().

Here is the call graph for this function:

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

References append().

Here is the call graph for this function:

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

References append().

Here is the call graph for this function:

bool TiXmlString::operator== ( const TiXmlString compare  )  const

References allocated, and cstring.

bool TiXmlString::operator< ( const TiXmlString compare  )  const

References allocated, and cstring.

bool TiXmlString::operator> ( const TiXmlString compare  )  const

References allocated, and cstring.

bool TiXmlString::empty (  )  const [inline]

References length().

Referenced by TiXmlAttribute::Next(), TiXmlAttribute::Previous(), TiXmlDeclaration::Print(), and TiXmlDeclaration::StreamOut().

Here is the call graph for this function:

Here is the caller graph for this function:

const char& TiXmlString::at ( unsigned  index  )  const [inline]

References cstring, and length().

Here is the call graph for this function:

unsigned TiXmlString::find ( char  lookup  )  const [inline]

Referenced by TiXmlAttribute::Print(), and TiXmlAttribute::StreamOut().

Here is the caller graph for this function:

unsigned TiXmlString::find ( char  tofind,
unsigned  offset 
) const

References cstring, and length().

Here is the call graph for this function:

void TiXmlString::reserve ( unsigned  size  )  [inline]

References allocated, cstring, current_length, and empty_it().

Here is the call graph for this function:

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

References cstring, and length().

Here is the call graph for this function:

void TiXmlString::append ( const char *  str,
int  len 
)

References allocated, assign_new_size(), cstring, current_length, and length().

Referenced by append(), operator+=(), and TiXmlOutStream::operator<<().

Here is the call graph for this function:

Here is the caller graph for this function:

unsigned TiXmlString::assign_new_size ( unsigned  minimum_to_allocate  )  [inline, protected]

Referenced by append().

Here is the caller graph for this function:

void TiXmlString::empty_it (  )  [inline, protected]

References allocated, cstring, and current_length.

Referenced by operator=(), reserve(), and ~TiXmlString().

Here is the caller graph for this function:

void TiXmlString::append ( const char *  suffix  )  [protected]

References allocated, assign_new_size(), cstring, current_length, and length().

Here is the call graph for this function:

void TiXmlString::append ( const TiXmlString suffix  )  [inline, protected]

References append(), and c_str().

Here is the call graph for this function:

void TiXmlString::append ( char  single  )  [inline, protected]

References allocated, append(), cstring, and current_length.

Here is the call graph for this function:


Member Data Documentation

char* TiXmlString::cstring [protected]
unsigned TiXmlString::allocated [protected]
unsigned TiXmlString::current_length [protected]

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