Pandora
Pandora source code navigator
Loading...
Searching...
No Matches
pandora::TiXmlOutStream Class Reference

#include "tinystr.h"

Inheritance diagram for pandora::TiXmlOutStream:
Collaboration diagram for pandora::TiXmlOutStream:

Public Types

typedef size_t size_type
 

Public Member Functions

TiXmlOutStreamoperator<< (const TiXmlString &in)
 
TiXmlOutStreamoperator<< (const char *in)
 
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)
 

Private Member Functions

void init (size_type sz)
 
void init (size_type sz, size_type cap)
 
void set_size (size_type sz)
 
char * start () const
 
char * finish () const
 
void quit ()
 

Private Attributes

Reprep_
 

Static Private Attributes

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

Detailed Description

Definition at line 286 of file tinystr.h.

Member Typedef Documentation

◆ size_type

typedef size_t pandora::TiXmlString::size_type
inherited

Definition at line 61 of file tinystr.h.

Member Function Documentation

◆ append()

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

Definition at line 71 of file tinystr.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ assign()

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

Definition at line 52 of file tinystr.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ at()

const char & pandora::TiXmlString::at ( size_type  index) const
inlineinherited

Definition at line 149 of file tinystr.h.

Here is the call graph for this function:

◆ c_str()

const char * pandora::TiXmlString::c_str ( ) const
inlineinherited

Definition at line 130 of file tinystr.h.

Here is the caller graph for this function:

◆ capacity()

size_type pandora::TiXmlString::capacity ( ) const
inlineinherited

Definition at line 145 of file tinystr.h.

Here is the caller graph for this function:

◆ clear()

void pandora::TiXmlString::clear ( )
inlineinherited

Definition at line 180 of file tinystr.h.

Here is the call graph for this function:

◆ data()

const char * pandora::TiXmlString::data ( ) const
inlineinherited

Definition at line 133 of file tinystr.h.

Here is the caller graph for this function:

◆ empty()

bool pandora::TiXmlString::empty ( ) const
inlineinherited

Definition at line 142 of file tinystr.h.

◆ find() [1/2]

size_type pandora::TiXmlString::find ( char  lookup) const
inlineinherited

Definition at line 163 of file tinystr.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ find() [2/2]

size_type pandora::TiXmlString::find ( char  tofind,
size_type  offset 
) const
inlineinherited

Definition at line 169 of file tinystr.h.

Here is the call graph for this function:

◆ finish()

char * pandora::TiXmlString::finish ( ) const
inlineprivateinherited

Definition at line 211 of file tinystr.h.

Here is the caller graph for this function:

◆ init() [1/2]

void pandora::TiXmlString::init ( size_type  sz)
inlineprivateinherited

Definition at line 208 of file tinystr.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ init() [2/2]

void pandora::TiXmlString::init ( size_type  sz,
size_type  cap 
)
inlineprivateinherited

Definition at line 219 of file tinystr.h.

◆ length()

size_type pandora::TiXmlString::length ( ) const
inlineinherited

Definition at line 136 of file tinystr.h.

Here is the caller graph for this function:

◆ operator+=() [1/3]

TiXmlString & pandora::TiXmlString::operator+= ( char  single)
inlineinherited

Definition at line 117 of file tinystr.h.

Here is the call graph for this function:

◆ operator+=() [2/3]

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

Definition at line 111 of file tinystr.h.

Here is the call graph for this function:

◆ operator+=() [3/3]

TiXmlString & pandora::TiXmlString::operator+= ( const TiXmlString suffix)
inlineinherited

Definition at line 123 of file tinystr.h.

Here is the call graph for this function:

◆ operator<<() [1/2]

TiXmlOutStream & pandora::TiXmlOutStream::operator<< ( const char *  in)
inline

Definition at line 298 of file tinystr.h.

◆ operator<<() [2/2]

TiXmlOutStream & pandora::TiXmlOutStream::operator<< ( const TiXmlString in)
inline

Definition at line 291 of file tinystr.h.

◆ operator[]()

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

Definition at line 156 of file tinystr.h.

Here is the call graph for this function:

◆ quit()

void pandora::TiXmlString::quit ( )
inlineprivateinherited

Definition at line 241 of file tinystr.h.

Here is the caller graph for this function:

◆ reserve()

void pandora::TiXmlString::reserve ( size_type  cap)
inherited

Definition at line 40 of file tinystr.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ set_size()

void pandora::TiXmlString::set_size ( size_type  sz)
inlineprivateinherited

Definition at line 209 of file tinystr.h.

Here is the caller graph for this function:

◆ size()

size_type pandora::TiXmlString::size ( ) const
inlineinherited

Definition at line 139 of file tinystr.h.

◆ start()

char * pandora::TiXmlString::start ( ) const
inlineprivateinherited

Definition at line 210 of file tinystr.h.

Here is the caller graph for this function:

◆ swap()

void pandora::TiXmlString::swap ( TiXmlString other)
inlineinherited

Definition at line 199 of file tinystr.h.

Here is the caller graph for this function:

Member Data Documentation

◆ npos

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

Definition at line 64 of file tinystr.h.

◆ nullrep_

TiXmlString::Rep pandora::TiXmlString::nullrep_ = { 0, 0, { '\0' } }
staticprivateinherited

Definition at line 252 of file tinystr.h.

◆ rep_

Rep* pandora::TiXmlString::rep_
privateinherited

Definition at line 251 of file tinystr.h.


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