|
DD4hep
1.30.0
Detector Description Toolkit for High Energy Physics
|
Go to the documentation of this file.
42 #ifndef TIXML_STRING_INCLUDED
43 #define TIXML_STRING_INCLUDED
52 #if defined(_MSC_VER) && (_MSC_VER >= 1200 )
54 #define TIXML_EXPLICIT explicit
55 #elif defined(__GNUC__) && (__GNUC__ >= 3 )
57 #define TIXML_EXPLICIT explicit
59 #define TIXML_EXPLICIT
102 memcpy(
start(), str, len);
133 return append(&single, 1);
165 assert( index <
length() );
172 assert( index <
length() );
179 return find(lookup, 0);
187 for (
const char* p =
c_str() + offset; *p !=
'\0'; ++p)
243 const size_type intsNeeded = ( bytesNeeded +
sizeof(int) - 1 ) /
sizeof( int );
244 rep_ =
reinterpret_cast<Rep*
>(
new int[ intsNeeded ] );
261 delete [] (
reinterpret_cast<int*
>(
rep_ ) );
320 #endif // TIXML_STRING_INCLUDED
321 #endif // TIXML_USE_STL
TiXmlString(const TiXmlString ©)
TinyXML class. See http://www.grinninglizard.com/tinyxml.
size_type find(char tofind, size_type offset) const
void swap(TiXmlString &other)
TinyXML class. See http://www.grinninglizard.com/tinyxml.
TinyXML class. See http://www.grinninglizard.com/tinyxml.
size_type capacity() const
const char & at(size_type index) const
TiXmlString & operator=(const char *copy)
bool operator<(const TiXmlString &a, const TiXmlString &b)
static const size_type npos
TiXmlString & assign(const char *str, size_type len)
bool operator>(const TiXmlString &a, const TiXmlString &b)
TIXML_EXPLICIT TiXmlString(const char *str, size_type len)
char & operator[](size_type index) const
TiXmlString & operator+=(const char *suffix)
size_type find(char lookup) const
void reserve(size_type cap)
void set_size(size_type sz)
bool operator==(const TiXmlString &a, const TiXmlString &b)
const char * c_str() const
bool operator>=(const TiXmlString &a, const TiXmlString &b)
TiXmlString & append(const char *str, size_type len)
TiXmlOutStream & operator<<(const TiXmlString &in)
const char * data() const
void init(size_type sz, size_type cap)
TIXML_EXPLICIT TiXmlString(const char *copy)
bool operator!=(const TiXmlString &a, const TiXmlString &b)
bool operator<=(const TiXmlString &a, const TiXmlString &b)
TiXmlString operator+(const TiXmlString &a, const TiXmlString &b)