16 #if !defined(DOMSTRINGHELPER_HEADER_GUARD_1357924680)
17 #define DOMSTRINGHELPER_HEADER_GUARD_1357924680
29 #if defined(XALAN_CLASSIC_IOSTREAMS)
54 XALAN_CPP_NAMESPACE_BEGIN
58 XALAN_USING_XERCES(MemoryManager)
69 #if defined(XALAN_LSTRSUPPORT) && !defined(XALAN_XALANDOMCHAR_USHORT_MISMATCH)
71 #define XALAN_STATIC_UCODE_STRING(str) L##str
75 #define XALAN_STATIC_UCODE_STRING(str) str
81 #if defined(XALAN_NO_ALGORITHMS_WITH_BUILTINS)
83 template<
class InputIteratorType,
class OutputIteratorType>
84 inline OutputIteratorType
86 InputIteratorType begin,
87 InputIteratorType end,
88 OutputIteratorType iterator)
90 for(; begin != end; ++iterator, ++begin)
100 template<
class InputIteratorType,
class OutputIteratorType,
class UnaryFunction>
101 inline OutputIteratorType
103 InputIteratorType begin,
104 InputIteratorType end,
105 OutputIteratorType iterator,
106 UnaryFunction
function)
108 for(; begin != end; ++iterator, ++begin)
110 *iterator =
function(*begin);
118 template<
class InputIteratorType,
class OutputIteratorType>
119 inline OutputIteratorType
121 InputIteratorType begin,
122 InputIteratorType end,
123 OutputIteratorType iterator)
125 return XALAN_STD_QUALIFIER copy(begin, end, iterator);
130 template<
class InputIteratorType,
class OutputIteratorType,
class UnaryFunction>
131 inline OutputIteratorType
133 InputIteratorType begin,
134 InputIteratorType end,
135 OutputIteratorType iterator,
136 UnaryFunction
function)
138 return XALAN_STD_QUALIFIER transform(begin, end, iterator);
152 inline const XalanDOMChar*
155 return theString.
c_str();
170 if (theString.
empty() ==
true)
176 const char*
const ptr = &theString[0];
178 assert(ptr[theString.
size() - 1] ==
'\0');
201 inline const XalanDOMChar*
216 inline const XalanDOMChar*
219 return theString.
c_str();
230 inline const XalanDOMChar*
248 return theString.
empty() ==
true ? 0 : &theString[0];
279 return theString.
length();
294 assert(theString != 0);
296 const XalanDOMChar* theBufferPointer = theString;
298 while(*theBufferPointer != 0)
317 assert(theString != 0);
349 const XalanDOMChar* theString,
350 XalanDOMChar theChar)
352 assert(theString != 0);
354 const XalanDOMChar* thePointer = theString;
356 while(*thePointer != theChar && *thePointer != 0)
378 const XalanDOMChar* theString,
380 XalanDOMChar theChar)
382 assert(theString != 0);
384 const XalanDOMChar* thePointer = theString;
385 const XalanDOMChar*
const theEndPointer = theString + theStringLength;
387 while(*thePointer != theChar && thePointer != theEndPointer)
409 XalanDOMChar theChar)
429 const XalanDOMChar* theString,
431 const XalanDOMChar* theSubstring,
447 const XalanDOMChar* theString,
448 const XalanDOMChar* theSubstring);
480 const XalanDOMChar* theString,
481 XalanDOMChar theChar);
497 XalanDOMChar theChar)
515 const XalanDOMChar* theString,
517 const XalanDOMChar* theSubstring,
531 const XalanDOMChar* theString,
532 const XalanDOMChar* theSubstring)
534 assert(theString != 0 && theSubstring != 0);
550 const XalanDOMChar* theString,
553 assert(theString != 0);
570 const XalanDOMChar* theSubstring)
572 assert(theSubstring != 0);
590 const XalanDOMChar* theSubstring,
593 assert(theSubstring != 0);
630 const XalanDOMChar* theString,
632 const XalanDOMChar* theSubstring,
646 const XalanDOMChar* theString,
647 const XalanDOMChar* theSubstring)
649 assert(theString != 0 && theSubstring != 0);
682 const
void* theValue,
714 MemberFunctionPtr
function);
720 MemberFunctionPtr
function);
753 unsigned long theValue,
783 unsigned long theValue,
832 const XalanDOMChar* theString,
833 MemoryManager& theMemoryManager);
889 MemoryManager& theMemoryManager)
907 XalanOutputStream& theStream,
921 #if defined(XALAN_NO_STD_NAMESPACE)
924 std::ostream& theStream,
939 XalanOutputStream& theStream,
940 const XalanDOMChar* theString);
953 #if defined(XALAN_NO_STD_NAMESPACE)
956 std::ostream& theStream,
958 const XalanDOMChar* theString,
959 MemoryManager& theMemoryManager);
972 XalanOutputStream& theStream,
975 if (
isEmpty(theString) ==
false)
998 std::ostream& theStream,
1001 MemoryManager& theMemoryManager)
1018 inline XalanOutputStream&
1020 XalanOutputStream& theStream,
1039 #if defined(XALAN_NO_STD_NAMESPACE)
1044 inline std::ostream&
1046 std::ostream& theStream,
1066 inline XalanOutputStream&
1068 XalanOutputStream& theStream,
1069 const XalanDOMChar* theString)
1087 #if defined(XALAN_NO_STD_NAMESPACE)
1092 inline std::ostream&
1094 std::ostream& theStream,
1096 const XalanDOMChar* theString)
1115 inline XalanOutputStream&
1117 XalanOutputStream& theStream,
1135 #if defined(XALAN_NO_STD_NAMESPACE)
1140 inline std::ostream&
1142 std::ostream& theStream,
1163 #if defined(XALAN_NO_STD_NAMESPACE)
1168 inline std::ostream&
1170 std::ostream& theStream,
1177 theString.getMemoryManager());
1196 return theString[theIndex];
1261 const XalanDOMChar* theString,
1365 const XalanDOMChar* theString,
1410 const XalanDOMChar* theString,
1478 const XalanDOMChar* theLHS,
1480 const XalanDOMChar* theRHS,
1498 const XalanDOMChar* theLHS,
1499 const XalanDOMChar* theRHS)
1542 const XalanDOMChar* theLHS,
1564 const XalanDOMChar* theRHS)
1588 const XalanDOMChar* theLHS,
1590 const XalanDOMChar* theRHS,
1610 const XalanDOMChar* theLHS,
1611 const XalanDOMChar* theRHS)
1659 const XalanDOMChar* theRHS)
1681 const XalanDOMChar* theLHS,
1701 const XalanDOMChar* theLHS,
1703 const XalanDOMChar* theRHS,
1720 const XalanDOMChar* theLHS,
1721 const XalanDOMChar* theRHS)
1758 const XalanDOMChar* theLHS,
1777 const XalanDOMChar* theRHS)
1794 const XalanDOMChar* theLHS,
1795 const XalanDOMChar* theRHS,
1811 const XalanDOMChar* theLHS,
1813 const XalanDOMChar* theRHS,
1816 return theLHSLength != theRHSLength ?
false :
equals(theLHS, theRHS, theLHSLength);
1830 const XalanDOMChar* theLHS,
1831 const XalanDOMChar* theRHS)
1835 return theLHSLength !=
length(theRHS) ?
false :
equals(theLHS, theRHS, theLHSLength);
1852 return theLHS == theRHS;
1866 const XalanDOMChar* theLHS,
1869 assert(theLHS != 0);
1872 return theRHS == theLHS;
1886 const XalanDOMChar* theRHS)
1888 return equals(theRHS, theLHS);
1904 const XalanDOMChar* theRHS,
1907 return theRHSLength !=
length(theLHS) ?
false :
equals(
c_wstr(theLHS), theRHSLength, theRHS, theRHSLength);
1923 const XalanDOMChar* theLHS,
1924 const XalanDOMChar* theRHS,
1941 const XalanDOMChar* theLHS,
1943 const XalanDOMChar* theRHS,
1946 return theLHSLength != theRHSLength ?
false :
1962 const XalanDOMChar* theLHS,
1963 const XalanDOMChar* theRHS)
1967 return theLength !=
length(theRHS) ?
false :
1988 return theLength !=
length(theRHS) ?
false :
2004 const XalanDOMChar* theLHS,
2009 return theRHSLength !=
length(theLHS) ?
false :
2026 const XalanDOMChar* theRHS)
2047 return compare(theLHS, theRHS) < 0 ?
true :
false;
2066 return compare(theLHS, theRHS) < 0 ?
true :
false;
2084 theString = theStringToAssign;
2102 const XalanDOMChar* theStringToAssign,
2107 theString.
assign(theStringToAssign);
2111 theString.
assign(theStringToAssign, theStringToAssignLength);
2131 theString.
append(theStringToAppend);
2149 const XalanDOMChar* theStringToAppend,
2152 assert(theStringToAppend != 0);
2156 theString.
append(theStringToAppend);
2160 theString.
append(theStringToAppend, theStringToAppendLength);
2179 const char* theStringToAppend,
2203 const XalanDOMChar theCharToAppend)
2205 theString.
append(1, theCharToAppend);
2222 char theCharToAppend)
2225 char theTempBuffer[] = { theCharToAppend,
'\0' };
2227 return append(theString, theTempBuffer);
2246 theString.
insert(thePosition, theStringToInsert);
2265 const XalanDOMChar* theStringToInsert)
2267 theString.
insert(thePosition, theStringToInsert);
2327 const XalanDOMChar* theString,
2334 const
char* theString,
2351 bool fTranscode = true);
2384 #if defined(XALAN_NO_STD_NAMESPACE)
2385 struct c_wstr_functor :
public unary_function<XalanDOMString, const XalanDOMChar*>
2387 struct
c_wstr_functor :
public std::unary_function<XalanDOMString, const XalanDOMChar*>
2393 return c_wstr(theString);
2410 const XalanDOMChar* theRawBuffer =
c_wstr(theKey);
2414 return hasher(theRawBuffer);
2440 assert (theKey != 0);
2469 #if defined(XALAN_NO_STD_NAMESPACE)
2477 second_argument_type theRHS)
const
2479 return equals(theLHS, theRHS);
2492 #if defined(XALAN_NO_STD_NAMESPACE)
2500 second_argument_type theRHS)
const
2502 return !
equals(theLHS, theRHS);
2515 #if defined(XALAN_NO_STD_NAMESPACE)
2523 second_argument_type theRHS)
const
2525 return compare(theLHS, theRHS) < 0 ?
true :
false;
2541 second_argument_type theRHS)
const
2543 assert(theLHS != 0 && theRHS != 0);
2545 return compare(*theLHS, *theRHS) == 0 ?
true :
false;
2557 #if defined(XALAN_NO_STD_NAMESPACE)
2565 second_argument_type theRHS)
const
2567 assert(theLHS != 0 && theRHS != 0);
2569 return compare(*theLHS, *theRHS) < 0 ?
true :
false;
2582 #if defined(XALAN_NO_STD_NAMESPACE)
2590 second_argument_type theRHS)
const
2605 #if defined(XALAN_NO_STD_NAMESPACE)
2613 second_argument_type theRHS)
const
2615 return compare(theLHS, theRHS) <= 0 ?
true :
false;
2628 #if defined(XALAN_NO_STD_NAMESPACE)
2636 second_argument_type theRHS)
const
2638 return compare(theLHS, theRHS) > 0 ?
true :
false;
2651 #if defined(XALAN_NO_STD_NAMESPACE)
2659 second_argument_type theRHS)
const
2661 return compare(theLHS, theRHS) >= 0 ?
true :
false;
2672 #if defined(XALAN_NO_STD_NAMESPACE)
2688 first_argument_type theLHS,
2689 second_argument_type theRHS)
const
2718 const XalanDOMChar ch[],
2733 assert(theString != 0);
2740 XALAN_CPP_NAMESPACE_END
2744 #endif // DOMSTRINGHELPER_HEADER_GUARD_1357924680
toLowerCaseASCII(const XalanDOMChar *theString, XalanDOMString &theResult)
Converts ASCII alphabetic characters from upper case to lower case.
Definition: STLHelper.hpp:628
result_type operator()(first_argument_type theLHS, second_argument_type theRHS) const
Compare the values of two objects.
Definition: DOMStringHelper.hpp:2687
LongToHexDOMString(long theValue, XalanDOMString &theResult)
Converts a long value into a XalanDOMString.
#define XALAN_NO_STD_NAMESPACE
Definition: AIXDefinitions.hpp:54
Less than functor for DOMStrings.
Definition: DOMStringHelper.hpp:2518
const XalanDOMChar * c_wstr(const XalanDOMString &theString)
Get the underlying representation of the target XalanDOMString as a null-terminated string...
Definition: DOMStringHelper.hpp:153
size_type length() const
Definition: XalanDOMString.hpp:209
XalanDOMChar toLowerASCII(XalanDOMChar theChar)
Converts ASCII alphabetic characters from upper case to lower case.
Definition: DOMStringHelper.hpp:1317
UnsignedLongToHexDOMString(unsigned long theValue, XalanDOMString &theResult)
Converts an unsigned long value and appends the result to a XalanDOMString.
startsWith(const XalanDOMChar *theString, XalanDOMString::size_type theStringLength, const XalanDOMChar *theSubstring, XalanDOMString::size_type theSubstringLength)
Simulates the java String method startsWith().
void reserve(XalanDOMString &theString, XalanDOMString::size_type theCount)
Reserve some space in the string for more efficient concatenation...
Definition: DOMStringHelper.hpp:261
Definition: DOMStringHelper.hpp:704
OutputString(XalanOutputStream &theStream, const CharVectorType &theString)
Outputs the target string to the specified stream.
void reserve(size_type theCount=0)
Definition: XalanDOMString.hpp:249
XalanDOMString & assign(XalanDOMString &theString, const XalanDOMString &theStringToAssign)
Assign one string to another.
Definition: DOMStringHelper.hpp:2080
XALAN_CPP_NAMESPACE_BEGIN typedef XERCES_CPP_NAMESPACE_QUALIFIER MemoryManager MemoryManagerType
Definition: XalanMemoryManagement.hpp:39
Greater than functor for DOMStrings.
Definition: DOMStringHelper.hpp:2631
void releaseMemory(XalanDOMString &theString, MemoryManagerType &theManager)
Remove all elements from target string and frees all allocated memory.
Definition: DOMStringHelper.hpp:2318
result_type operator()(argument_type theKey) const
Definition: DOMStringHelper.hpp:2408
toUpperCaseASCII(const XalanDOMChar *theString, XalanDOMString &theResult)
Converts ASCII alphabetic characters from lower case to upper case.
void erase(XalanDOMString &theString)
Remove all elements from target string.
Definition: DOMStringHelper.hpp:2304
lastIndexOf(const XalanDOMChar *theString, XalanDOMChar theChar)
Simulates the java String method lastIndexOf().
result_type operator()(argument_type theKey) const
Definition: DOMStringHelper.hpp:2438
equalsIgnoreCaseASCII(const XalanDOMChar *theLHS, const XalanDOMChar *theRHS, XalanDOMString::size_type theLength)
Compare the contents of two arrays for equality, without regard for case.
result_type operator()(first_argument_type theLHS, second_argument_type theRHS) const
Definition: DOMStringHelper.hpp:2522
void swap(XalanDOMString &theOther)
Definition: XalanDOMString.hpp:330
unsigned long DOMStringToUnsignedLong(const XalanDOMString &theString)
Converts a XalanDOMString into a long value.
Definition: DOMStringHelper.hpp:872
WideStringToLong(const XalanDOMChar *theString)
Converts a wide string into a long value.
result_type operator()(first_argument_type theLHS, second_argument_type theRHS) const
Definition: DOMStringHelper.hpp:2612
static bool isLetter(XalanDOMChar c)
Definition: XalanXMLChar.hpp:85
OutputIteratorType XalanTransform(InputIteratorType begin, InputIteratorType end, OutputIteratorType iterator, UnaryFunction function)
Definition: DOMStringHelper.hpp:132
XALAN_STD_QUALIFIER equal_to< XalanDOMString > Comparator
Definition: DOMStringHelper.hpp:2424
double DOMStringToDouble(const XalanDOMString &theString, MemoryManager &theMemoryManager)
Converts a XalanDOMString into a double value.
Definition: DOMStringHelper.hpp:887
Less than functor for DOMStrings.
Definition: DOMStringHelper.hpp:2560
pointer_equal< XalanDOMString > Comparator
Definition: DOMStringHelper.hpp:2458
XalanDOMString & insert(size_type thePosition, const XalanDOMString &theString)
Definition: XalanDOMString.hpp:513
PointerToDOMString(const void *theValue, XalanDOMString &theResult)
Converts a pointer into a XalanDOMString.
DoubleToDOMString(double theValue, XalanDOMString &theResult)
Converts a double value into a XalanDOMString.
void clear(XalanDOMString &theString)
Remove all elements from target string.
Definition: DOMStringHelper.hpp:2291
compare(const CharVectorType &theLHS, const CharVectorType &theRHS)
Compare the contents of two strings.
Definition: XalanMap.hpp:66
bool empty() const
Definition: XalanVector.hpp:636
Less than functor for DOMStrings which ignores case for the characters a-z and A-Z.
Definition: DOMStringHelper.hpp:2585
WideStringToInt(const XalanDOMChar *theString)
Converts a wide string into an integer value.
XalanDOMString::size_type indexOf(const XalanDOMChar *theString, XalanDOMChar theChar)
Simulates the java String method indexOf().
Definition: DOMStringHelper.hpp:348
Equals functor for DOMStrings.
Definition: DOMStringHelper.hpp:2472
XalanDOMString & append(XalanDOMString &theString, const XalanDOMString &theStringToAppend)
Concatenate two strings.
Definition: DOMStringHelper.hpp:2127
result_type operator()(first_argument_type theLHS, second_argument_type theRHS) const
Definition: DOMStringHelper.hpp:2589
result_type operator()(first_argument_type theLHS, second_argument_type theRHS) const
Definition: DOMStringHelper.hpp:2476
This functor is designed to compare 0-terminated wide strings in a case-insensitive manner...
Definition: DOMStringHelper.hpp:2675
result_type operator()(first_argument_type theLHS, second_argument_type theRHS) const
Definition: DOMStringHelper.hpp:2658
XalanOutputStream & operator<<(XalanOutputStream &theStream, const CharVectorType &theString)
Outputs the string to the specified stream.
Definition: DOMStringHelper.hpp:1019
result_type operator()(const argument_type &theString) const
Definition: DOMStringHelper.hpp:2391
Equal to functor for DOMStrings.
Definition: DOMStringHelper.hpp:2537
long DOMStringToLong(const XalanDOMString &theString)
Converts a XalanDOMString into a long value.
Definition: DOMStringHelper.hpp:858
bool operator<(const CharVectorType &theLHS, const CharVectorType &theRHS)
Implements operator< for CharVectorType.
Definition: DOMStringHelper.hpp:2043
XalanDOMString & assign(const XalanDOMChar *theSource)
Definition: XalanDOMString.hpp:364
int DOMStringToInt(const XalanDOMString &theString)
Converts a XalanDOMString into an integer value.
Definition: DOMStringHelper.hpp:844
WideStringToUnsignedLong(const XalanDOMChar *theString)
Converts a wide string into an unsigned long value.
LongToDOMString(long theValue, XalanDOMString &theResult)
Converts a long value into a XalanDOMString.
result_type operator()(first_argument_type theLHS, second_argument_type theRHS) const
Definition: DOMStringHelper.hpp:2540
OutputIteratorType XalanCopy(InputIteratorType begin, InputIteratorType end, OutputIteratorType iterator)
Definition: DOMStringHelper.hpp:120
collationCompare(const XalanDOMChar *theLHS, XalanDOMString::size_type theLHSLength, const XalanDOMChar *theRHS, XalanDOMString::size_type theRHSLength)
Compare the contents of two character arrays.
Definition: DOMStringHelper.hpp:2387
endsWith(const XalanDOMChar *theString, XalanDOMString::size_type theStringLength, const XalanDOMChar *theSubstring, XalanDOMString::size_type theSubstringLength)
Simulates the java String method endsWith().
const char * c_str(const CharVectorType &theString)
Get the underlying representation of the target CharVectorType as a null-terminated string...
Definition: DOMStringHelper.hpp:168
XALAN_CPP_NAMESPACE_BEGIN typedef size_t size_type
Definition: XalanMap.hpp:44
substring(const XalanDOMChar *theString, XalanDOMString &theSubstring, XalanDOMString::size_type theStartIndex, XalanDOMString::size_type theEndIndex=XalanDOMString::npos)
Simulates the java String method substring().
const XalanDOMChar * c_str() const
Definition: XalanDOMString.hpp:314
Definition: STLHelper.hpp:408
static MemoryManager & getDefault()
Definition: XalanMemoryManagement.hpp:386
bool isXMLLetterOrDigit(XalanDOMChar theChar)
Determines whether character represents a letter or digit.
Definition: DOMStringHelper.hpp:1236
void erase(size_type theStartPosition=0, size_type theCount=size_type(npos))
MemoryManagerType & getMemoryManager()
Definition: XalanDOMString.hpp:659
Hash functor for DOMStrings.
Definition: DOMStringHelper.hpp:2435
compareIgnoreCaseASCII(const XalanDOMChar *theLHS, XalanDOMString::size_type theLHSLength, const XalanDOMChar *theRHS, XalanDOMString::size_type theRHSLength)
Compare the contents of two arrays in a case insensitive manner.
XalanDOMChar toUpperASCII(XalanDOMChar theChar)
Converts ASCII alphabetic characters from lower case to upper case.
Definition: DOMStringHelper.hpp:1340
result_type operator()(first_argument_type theLHS, second_argument_type theRHS) const
Definition: DOMStringHelper.hpp:2499
size_type size() const
Definition: XalanVector.hpp:571
static bool isWhitespace(XalanDOMChar c)
Definition: XalanXMLChar.hpp:79
MakeXalanDOMCharVector(const char *data, XalanDOMCharVectorType &result, bool fTranscode=true)
Utility function to make a null-terminated vector of XMLChs, from a null-terminated array of chars...
DOMStringHashFunction Hasher
Definition: DOMStringHelper.hpp:2423
Definition: XalanOutputStream.hpp:47
result_type operator()(first_argument_type theLHS, second_argument_type theRHS) const
Definition: DOMStringHelper.hpp:2564
WideStringToDouble(const XalanDOMChar *theString, MemoryManager &theMemoryManager)
Converts a wide string into a double value.
Not equals functor for DOMStrings.
Definition: DOMStringHelper.hpp:2495
Less than or equal functor for DOMStrings.
Definition: DOMStringHelper.hpp:2608
DOMStringPointerHashFunction Hasher
Definition: DOMStringHelper.hpp:2450
result_type operator()(first_argument_type theLHS, second_argument_type theRHS) const
Definition: DOMStringHelper.hpp:2635
Definition: XalanUnicode.hpp:162
XalanDOMChar charAt(const XalanDOMString &theString, XalanDOMString::size_type theIndex)
Retrieves a character at a specified index in the target string.
Definition: DOMStringHelper.hpp:1192
CopyStringToVector(const char *theString, CharVectorType &theVector)
Greater than or equal functor for DOMStrings.
Definition: DOMStringHelper.hpp:2654
Definition: XalanDOMString.hpp:42
Definition: XalanUnicode.hpp:137
XalanDOMString::size_type length(const XalanDOMString &theString)
Get the length of a XalanDOMString.
Definition: DOMStringHelper.hpp:277
XalanDOMString & append(const XalanDOMString &theSource)
Definition: XalanDOMString.hpp:458
const XalanDOMChar * toCharArray(const XalanDOMString &theString)
Get the underlying representation of the target XalanDOMString as an array of XalanDOMChar, not guaranteed to be null-terminated.
Definition: DOMStringHelper.hpp:217
bool isXMLDigit(XalanDOMChar theChar)
Determines whether character represents a digit.
Definition: DOMStringHelper.hpp:1222
Definition: XalanUnicode.hpp:124
bool isXMLWhitespace(XalanDOMChar theChar)
Determines whether character represents white space.
Definition: DOMStringHelper.hpp:1208
Hash functor for DOMStrings.
Definition: DOMStringHelper.hpp:2405
const XalanDOMString TranscodeFromLocalCodePage(const char *theSourceString, XalanDOMString::size_type theSourceStringLength=XalanDOMString::npos)
Convert a string to a XalanDOMString, transcoding from the default local code page.
Definition: XalanDOMString.hpp:990
bool isEmpty(const XalanDOMString &str)
Determines if the target string contains any elements.
Definition: DOMStringHelper.hpp:331
UnsignedLongToDOMString(unsigned long theValue, XalanDOMString &theResult)
Converts an unsigned long value and appends the result to a XalanDOMString.
pointer_equal< XalanDOMString > Comparator
Definition: DOMStringHelper.hpp:2451
DOMStringPointerHashFunction Hasher
Definition: DOMStringHelper.hpp:2457
unsigned int size_type
Definition: XalanDOMString.hpp:53
bool empty() const
Definition: XalanDOMString.hpp:274
equals(const XalanDOMChar *theLHS, const XalanDOMChar *theRHS, XalanDOMString::size_type theLength)
Compare the contents of two arrays for equality.
Definition: XalanVector.hpp:61
Definition: XalanUnicode.hpp:99
trim(const XalanDOMString &theString, XalanDOMString &theResult)
Remove trailing whitespace.
XalanDOMString & insert(XalanDOMString &theString, XalanDOMString::size_type thePosition, const XalanDOMString &theStringToInsert)
Insert a string into another string.
Definition: DOMStringHelper.hpp:2241
static bool isDigit(XalanDOMChar c)
Definition: XalanXMLChar.hpp:67
Definition: XalanDOMString.hpp:63
CopyWideStringToVector(const XalanDOMChar *theString, CharVectorType &theVector)