18 #if !defined(XALANDOMSTRING_HEADER_GUARD_1357924680)
19 #define XALANDOMSTRING_HEADER_GUARD_1357924680
70 const char* theString,
82 const XalanDOMChar* theString,
92 clone(MemoryManager& theManager);
127 return m_data.begin();
135 return m_data.begin();
143 return m_data.empty() ==
true ? m_data.end() : m_data.end() - 1;
151 return m_data.empty() ==
true ? m_data.end() : m_data.end() - 1;
161 if (m_data.empty() ==
false)
169 const_reverse_iterator
176 if (m_data.empty() ==
false)
189 return m_data.rend();
192 const_reverse_iterator
197 return m_data.rend();
227 XalanDOMChar theChar);
234 resize(theCount, XalanDOMChar(0));
245 return theCapacity == 0 ? 0 :
size_type(theCapacity - 1);
253 m_data.reserve(theCount + 1);
261 m_data.erase(m_data.begin(), m_data.end());
273 m_data.erase(thePosition);
289 m_data.erase(theFirst, theLast);
291 m_size = m_data.size() - 1;
308 return m_size == 0 ? true :
false;
316 return m_data[theIndex];
324 return m_data[theIndex];
332 return m_data.at(theIndex);
340 return m_data.at(theIndex);
348 return m_data.empty() ==
true ? &s_empty : &m_data[0];
364 m_data.swap(theOther.m_data);
403 const XalanDOMChar* theSource,
412 return append(theSource, theCount);
429 const char* theSource,
438 return append(theSource, theCount);
452 if (&theSource !=
this)
454 m_data = theSource.m_data;
456 m_size = theSource.m_size;
467 XalanDOMChar theChar)
475 return append(theCount, theChar);
495 assert(thePosition < theSource.
length() &&
496 (theCount ==
size_type(npos) || thePosition + theCount <= theSource.
length()));
498 return append(theSource.
c_str() + thePosition, theCount);
503 const XalanDOMChar* theString,
514 const char* theString,
526 XalanDOMChar theChar);
553 return insert(thePosition1, theString.
c_str() + thePosition2, theCount);