Home | History | Annotate | Download | only in tinyxml

Lines Matching refs:TiXmlString

29  * - sizeof(TiXmlString) = pointer size (4 bytes on 32-bit systems)
46 TiXmlString is an emulation of a subset of the std::string template.
52 class TiXmlString
62 // TiXmlString empty constructor
63 TiXmlString () : rep_(&nullrep_)
67 // TiXmlString copy constructor
68 TiXmlString (const TiXmlString & copy)
74 // TiXmlString constructor, based on a string
75 TiXmlString (const char * copy)
81 // TiXmlString constructor, based on a string
82 TiXmlString (const char * str, size_type len)
88 // TiXmlString destructor
89 ~TiXmlString ()
95 TiXmlString& operator = (const char * copy)
101 TiXmlString& operator = (const TiXmlString & copy)
108 TiXmlString& operator += (const char * suffix)
114 TiXmlString& operator += (char single)
120 TiXmlString& operator += (const TiXmlString & suffix)
126 // Convert a TiXmlString into a null-terminated char *
129 // Convert a TiXmlString into a char * (need not be null terminated).
132 // Return the length of a TiXmlString
138 // Checks if a TiXmlString is empty
159 // find a char in a string. Return TiXmlString::npos if not found
165 // find a char in a string from an offset. Return TiXmlString::npos if not found
181 // TiXmlString().swap(*this);
188 function DOES NOT clear the content of the TiXmlString if any exists.
192 TiXmlString& assign (const char* str, size_type len);
194 TiXmlString& append (const char* str, size_type len);
196 void swap (TiXmlString& other)
244 inline bool operator == (const TiXmlString & a, const TiXmlString & b)
249 inline bool operator < (const TiXmlString & a, const TiXmlString & b)
254 inline bool operator != (const TiXmlString & a, const TiXmlString & b) { return !(a == b); }
255 inline bool operator > (const TiXmlString & a, const TiXmlString & b) { return b < a; }
256 inline bool operator <= (const TiXmlString & a, const TiXmlString & b) { return !(b < a); }
257 inline bool operator >= (const TiXmlString & a, const TiXmlString & b) { return !(a < b); }
259 inline bool operator == (const TiXmlString & a, const char* b) { return strcmp(a.c_str(), b) == 0; }
260 inline bool operator == (const char* a, const TiXmlString & b) { return b == a; }
261 inline bool operator != (const TiXmlString & a, const char* b) { return !(a == b); }
262 inline bool operator != (const char* a, const TiXmlString & b) { return !(b == a); }
264 TiXmlString operator + (const TiXmlString & a, const TiXmlString & b);
265 TiXmlString operator + (const TiXmlString & a, const char* b);
266 TiXmlString operator + (const char* a, const TiXmlString & b);
270 TiXmlOutStream is an emulation of std::ostream. It is based on TiXmlString.
273 class TiXmlOutStream : public TiXmlString
278 TiXmlOutStream & operator << (const TiXmlString & in)