DD4hep  1.30.0
Detector Description Toolkit for High Energy Physics
Classes | Public Types | Public Member Functions | Static Public Attributes | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
TiXmlString Class Reference

TinyXML class. See http://www.grinninglizard.com/tinyxml. More...

#include <tinystr.h>

Inheritance diagram for TiXmlString:
TiXmlOutStream

Classes

class  Rep
 TinyXML class. See http://www.grinninglizard.com/tinyxml. More...
 

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
 

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

static Rep nullrep_
 

Detailed Description

TinyXML class. See http://www.grinninglizard.com/tinyxml.

See

See also
http://www.grinninglizard.com/tinyxml

Definition at line 70 of file tinystr.h.

Member Typedef Documentation

◆ size_type

typedef size_t TiXmlString::size_type

Definition at line 73 of file tinystr.h.

Constructor & Destructor Documentation

◆ TiXmlString() [1/4]

TiXmlString::TiXmlString ( )
inline

Definition at line 80 of file tinystr.h.

◆ TiXmlString() [2/4]

TiXmlString::TiXmlString ( const TiXmlString copy)
inline

Definition at line 85 of file tinystr.h.

◆ TiXmlString() [3/4]

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

Definition at line 92 of file tinystr.h.

◆ TiXmlString() [4/4]

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

Definition at line 99 of file tinystr.h.

◆ ~TiXmlString()

TiXmlString::~TiXmlString ( )
inline

Definition at line 106 of file tinystr.h.

Member Function Documentation

◆ append()

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

◆ assign()

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

◆ at()

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

Definition at line 163 of file tinystr.h.

◆ c_str()

const char* TiXmlString::c_str ( ) const
inline

Definition at line 144 of file tinystr.h.

◆ capacity()

size_type TiXmlString::capacity ( ) const
inline

Definition at line 159 of file tinystr.h.

◆ clear()

void TiXmlString::clear ( )
inline

Definition at line 194 of file tinystr.h.

◆ data()

const char* TiXmlString::data ( ) const
inline

Definition at line 147 of file tinystr.h.

◆ empty()

bool TiXmlString::empty ( ) const
inline

Definition at line 156 of file tinystr.h.

◆ find() [1/2]

size_type TiXmlString::find ( char  lookup) const
inline

Definition at line 177 of file tinystr.h.

◆ find() [2/2]

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

Definition at line 183 of file tinystr.h.

◆ finish()

char* TiXmlString::finish ( ) const
inlineprivate

Definition at line 225 of file tinystr.h.

◆ init() [1/2]

void TiXmlString::init ( size_type  sz)
inlineprivate

Definition at line 222 of file tinystr.h.

◆ init() [2/2]

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

Definition at line 233 of file tinystr.h.

◆ length()

size_type TiXmlString::length ( ) const
inline

Definition at line 150 of file tinystr.h.

◆ operator+=() [1/3]

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

Definition at line 131 of file tinystr.h.

◆ operator+=() [2/3]

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

Definition at line 125 of file tinystr.h.

◆ operator+=() [3/3]

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

Definition at line 137 of file tinystr.h.

◆ operator=() [1/2]

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

Definition at line 112 of file tinystr.h.

◆ operator=() [2/2]

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

Definition at line 118 of file tinystr.h.

◆ operator[]()

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

Definition at line 170 of file tinystr.h.

◆ quit()

void TiXmlString::quit ( )
inlineprivate

Definition at line 255 of file tinystr.h.

◆ reserve()

void TiXmlString::reserve ( size_type  cap)

◆ set_size()

void TiXmlString::set_size ( size_type  sz)
inlineprivate

Definition at line 223 of file tinystr.h.

◆ size()

size_type TiXmlString::size ( ) const
inline

Definition at line 153 of file tinystr.h.

◆ start()

char* TiXmlString::start ( ) const
inlineprivate

Definition at line 224 of file tinystr.h.

◆ swap()

void TiXmlString::swap ( TiXmlString other)
inline

Definition at line 213 of file tinystr.h.

Member Data Documentation

◆ npos

const size_type TiXmlString::npos
static

Definition at line 76 of file tinystr.h.

◆ nullrep_

Rep TiXmlString::nullrep_
staticprivate

Definition at line 266 of file tinystr.h.

◆ rep_

Rep* TiXmlString::rep_
private

Definition at line 265 of file tinystr.h.


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