Go to the documentation of this file.
27 #ifndef TIXML_STRING_INCLUDED
28 #define TIXML_STRING_INCLUDED
37 #if defined(_MSC_VER) && (_MSC_VER >= 1200)
39 #define TIXML_EXPLICIT explicit
40 #elif defined(__GNUC__) && (__GNUC__ >= 3)
42 #define TIXML_EXPLICIT explicit
44 #define TIXML_EXPLICIT
88 memcpy(
start(), str, len);
117 return append(&single, 1);
169 return find(lookup, 0);
178 for (
const char *p =
c_str() + offset; *p !=
'\0'; ++p)
242 const size_type intsNeeded = (bytesNeeded +
sizeof(int) - 1) /
sizeof(int);
243 rep_ =
reinterpret_cast<Rep *
>(
new int[intsNeeded] );
260 delete[] (
reinterpret_cast<int *
>(
rep_ ));
282 {
return !(a == b); }
294 {
return strcmp(a.
c_str(), b) == 0; }
300 {
return !(a == b); }
303 {
return !(b == a); }
336 #endif // TIXML_STRING_INCLUDED
337 #endif // TIXML_USE_STL
TiXmlString(const TiXmlString ©)
size_type find(char tofind, size_type offset) const
void swap(TiXmlString &other)
size_type capacity() const
const char & at(size_type index) const
TiXmlString & operator=(const char *copy)
bool operator<(const TiXmlString &a, const TiXmlString &b)
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)
TiXmlString & assign(const char *str, size_type len)
void set_size(size_type sz)
TiXmlString & append(const char *str, size_type len)
bool operator==(const TiXmlString &a, const TiXmlString &b)
TiXmlOutStream & operator<<(const char *in)
const char * c_str() const
TiXmlString & operator+=(char single)
bool operator>=(const TiXmlString &a, const TiXmlString &b)
TiXmlOutStream & operator<<(const TiXmlString &in)
const char * data() const
void init(size_type sz, size_type cap)
TiXmlString & operator=(const TiXmlString ©)
static const size_type npos
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 &suffix)
TiXmlString operator+(const TiXmlString &a, const TiXmlString &b)
sick_scan
Author(s): Michael Lehning
, Jochen Sprickerhof , Martin Günther
autogenerated on Thu Sep 8 2022 02:30:19