Classes | Public Types | Public Member Functions | Static Public Attributes | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
TiXmlString Class Reference

#include <tinystr.h>

Inheritance diagram for TiXmlString:
Inheritance graph
[legend]

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< TiXmlString::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 55 of file tinystr.h.

Member Typedef Documentation

typedef size_t TiXmlString::size_type

Definition at line 59 of file tinystr.h.

Constructor & Destructor Documentation

TiXmlString::TiXmlString ( )
inline

Definition at line 66 of file tinystr.h.

TiXmlString::TiXmlString ( const TiXmlString copy)
inline

Definition at line 71 of file tinystr.h.

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

Definition at line 78 of file tinystr.h.

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

Definition at line 85 of file tinystr.h.

TiXmlString::~TiXmlString ( )
inline

Definition at line 92 of file tinystr.h.

Member Function Documentation

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

Definition at line 68 of file tinystr.cpp.

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

Definition at line 49 of file tinystr.cpp.

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

Definition at line 153 of file tinystr.h.

const char* TiXmlString::c_str ( ) const
inline

Definition at line 128 of file tinystr.h.

size_type TiXmlString::capacity ( ) const
inline

Definition at line 148 of file tinystr.h.

void TiXmlString::clear ( )
inline

Definition at line 186 of file tinystr.h.

const char* TiXmlString::data ( ) const
inline

Definition at line 132 of file tinystr.h.

bool TiXmlString::empty ( ) const
inline

Definition at line 144 of file tinystr.h.

size_type TiXmlString::find ( char  lookup) const
inline

Definition at line 167 of file tinystr.h.

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

Definition at line 173 of file tinystr.h.

char* TiXmlString::finish ( ) const
inlineprivate

Definition at line 223 of file tinystr.h.

void TiXmlString::init ( size_type  sz)
inlineprivate

Definition at line 214 of file tinystr.h.

void TiXmlString::init ( size_type  sz,
size_type  cap 
)
inlineprivate

Definition at line 232 of file tinystr.h.

size_type TiXmlString::length ( ) const
inline

Definition at line 136 of file tinystr.h.

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

Definition at line 109 of file tinystr.h.

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

Definition at line 115 of file tinystr.h.

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

Definition at line 121 of file tinystr.h.

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

Definition at line 97 of file tinystr.h.

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

Definition at line 102 of file tinystr.h.

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

Definition at line 160 of file tinystr.h.

void TiXmlString::quit ( )
inlineprivate

Definition at line 254 of file tinystr.h.

void TiXmlString::reserve ( size_type  cap)

Definition at line 37 of file tinystr.cpp.

void TiXmlString::set_size ( size_type  sz)
inlineprivate

Definition at line 217 of file tinystr.h.

size_type TiXmlString::size ( ) const
inline

Definition at line 140 of file tinystr.h.

char* TiXmlString::start ( ) const
inlineprivate

Definition at line 220 of file tinystr.h.

void TiXmlString::swap ( TiXmlString other)
inline

Definition at line 205 of file tinystr.h.

Member Data Documentation

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

Definition at line 62 of file tinystr.h.

TiXmlString::Rep TiXmlString::nullrep_ = { 0, 0, { '\0' } }
staticprivate

Definition at line 265 of file tinystr.h.

Rep* TiXmlString::rep_
private

Definition at line 264 of file tinystr.h.


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


sick_scan
Author(s): Michael Lehning , Jochen Sprickerhof , Martin Günther
autogenerated on Wed May 5 2021 03:05:49