Go to the source code of this file.
| #define DOMSTRINGHELPER_HEADER_GUARD_1357924680 |
| #define XALAN_STATIC_UCODE_STRING | ( | str | ) | str |
| XalanDOMString& append | ( | XalanDOMString & | theString, | |
| char | theCharToAppend | |||
| ) |
Concatenate a string and a character.
| theString | target string | |
| theCharToAppend | the character to add to the target |
| XalanDOMString& append | ( | XalanDOMString & | theString, | |
| const XalanDOMChar | theCharToAppend | |||
| ) |
Concatenate a string and a character.
| theString | target string | |
| theCharToAppend | the character to add to the target |
| XalanDOMString& append | ( | XalanDOMString & | theString, | |
| const char * | theStringToAppend, | |||
| XalanDOMString::size_type | theStringToAppendLength = XalanDOMString::npos | |||
| ) |
Concatenate two strings.
| theString | target string | |
| theStringToAppend | string to add to target | |
| theStringToAppendLength | length of the string (XalanDOMString::npos implies the string is null-terminated) |
| XalanDOMString& append | ( | XalanDOMString & | theString, | |
| const XalanDOMChar * | theStringToAppend, | |||
| XalanDOMString::size_type | theStringToAppendLength = XalanDOMString::npos | |||
| ) |
Concatenate two strings.
| theString | target string | |
| theStringToAppend | string to add to target | |
| theStringToAppendLength | length of the string (XalanDOMString::npos implies the string is null-terminated) |
| XalanDOMString& append | ( | XalanDOMString & | theString, | |
| const XalanDOMString & | theStringToAppend | |||
| ) |
Concatenate two strings.
| theString | target string | |
| theStringToAppend | string to add to target |
| XalanDOMString& assign | ( | XalanDOMString & | theString, | |
| const XalanDOMChar * | theStringToAssign, | |||
| XalanDOMString::size_type | theStringToAssignLength = XalanDOMString::npos | |||
| ) |
Assign one string to another.
| theString | target string | |
| theStringToAppend | string to assign | |
| theStringToAppendLength | length of the string (XalanDOMString::npos implies the string is null-terminated) |
| XalanDOMString& assign | ( | XalanDOMString & | theString, | |
| const XalanDOMString & | theStringToAssign | |||
| ) |
Assign one string to another.
| theString | target string | |
| theStringToAppend | string to assign | |
| theStringToAppendLength | length of the string (XalanDOMString::npos implies the string is null-terminated) |
| const char* c_str | ( | const CharVectorType & | theString | ) |
Get the underlying representation of the target CharVectorType as a null-terminated string.
| theString | target string |
| const XalanDOMChar* c_wstr | ( | const XalanDOMChar * | theString | ) |
Get the underlying representation of the wide string as a UNICODE null-terminated string.
This is here simply for consistency in the code. On certain platforms, compiler- generated wide strings will not contain Unicode code points. Another macro converts those into XalanDOMStrings, which are then transcoded. In these cases, the previous defined c_sstr() function gets called.
On platforms where the compiler does generate Unicode wide strings, this function will be called instead.
| theString | target string |
| const XalanDOMChar* c_wstr | ( | const XalanDOMString & | theString | ) |
Get the underlying representation of the target XalanDOMString as a null-terminated string.
| theString | target string |
| XalanDOMChar charAt | ( | const XalanDOMString & | theString, | |
| XalanDOMString::size_type | theIndex | |||
| ) |
Retrieves a character at a specified index in the target string.
| theString | target string | |
| theIndex | index of character |
| void clear | ( | XalanDOMString & | theString | ) |
Remove all elements from target string.
| theString | target string |
| int collationCompare | ( | const XalanDOMString & | theLHS, | |
| const XalanDOMChar * | theRHS | |||
| ) |
Compare the contents of two strings.
| theLHS | first string to compare | |
| theRHS | second string to compare |
| int collationCompare | ( | const XalanDOMChar * | theLHS, | |
| const XalanDOMString & | theRHS | |||
| ) |
Compare the contents of two strings.
| theLHS | first string to compare | |
| theRHS | second string to compare |
| int collationCompare | ( | const XalanDOMString & | theLHS, | |
| const XalanDOMString & | theRHS | |||
| ) |
Compare the contents of two strings.
| theLHS | first string to compare | |
| theRHS | second string to compare |
| int collationCompare | ( | const XalanDOMChar * | theLHS, | |
| const XalanDOMChar * | theRHS | |||
| ) |
Compare the contents of two strings.
| theLHS | first string to compare | |
| theRHS | second string to compare |
| collationCompare | ( | const XalanDOMChar * | theLHS, | |
| XalanDOMString::size_type | theLHSLength, | |||
| const XalanDOMChar * | theRHS, | |||
| XalanDOMString::size_type | theRHSLength | |||
| ) |
Compare the contents of two character arrays.
| theLHS | first array to compare | |
| theLHSLength | the length of the first array | |
| theRHS | second array to compare | |
| theRHSLength | the length of the second array |
| int compare | ( | const XalanDOMString & | theLHS, | |
| const XalanDOMChar * | theRHS | |||
| ) |
Compare the contents of two strings.
THIS FUNCTION DOES NOT COMPARE STRINGS LIKE strcmp() OR ANY OTHER "COLLATION" ALGORITHM.
| theLHS | first string to compare | |
| theRHS | second string to compare |
| int compare | ( | const XalanDOMChar * | theLHS, | |
| const XalanDOMString & | theRHS | |||
| ) |
Compare the contents of two strings.
THIS FUNCTION DOES NOT COMPARE STRINGS LIKE strcmp() OR ANY OTHER "COLLATION" ALGORITHM.
| theLHS | first string to compare | |
| theRHS | second string to compare |
| int compare | ( | const XalanDOMString & | theLHS, | |
| const XalanDOMString & | theRHS | |||
| ) |
Compare the contents of two strings.
THIS FUNCTION DOES NOT COMPARE STRINGS LIKE strcmp() OR ANY OTHER "COLLATION" ALGORITHM.
| theLHS | first string to compare | |
| theRHS | second string to compare |
| int compare | ( | const XalanDOMChar * | theLHS, | |
| const XalanDOMChar * | theRHS | |||
| ) |
Compare the contents of two null-terminated strings.
THIS FUNCTION DOES NOT COMPARE STRINGS LIKE strcmp() OR ANY OTHER "COLLATION" ALGORITHM.
| theLHS | first string to compare | |
| theRHS | second string to compare |
| compare | ( | const XalanDOMChar * | theLHS, | |
| XalanDOMString::size_type | theLHSLength, | |||
| const XalanDOMChar * | theRHS, | |||
| XalanDOMString::size_type | theRHSLength | |||
| ) |
Compare the contents of two character arrays.
THIS FUNCTION DOES NOT COMPARE STRINGS LIKE strcmp() OR ANY OTHER "COLLATION" ALGORITHM.
| theLHS | first array to compare | |
| theLHSLength | the length of the first array | |
| theRHS | second array to compare | |
| theRHSLength | the length of the second array |
| compare | ( | const CharVectorType & | theLHS, | |
| const CharVectorType & | theRHS | |||
| ) |
Compare the contents of two strings.
THIS FUNCTION DOES NOT COMPARE STRINGS LIKE strcmp() OR ANY OTHER "COLLATION" ALGORITHM.
| theLHS | first string to compare | |
| theRHS | second string to compare |
| int compareIgnoreCaseASCII | ( | const XalanDOMChar * | theLHS, | |
| const XalanDOMString & | theRHS | |||
| ) |
Compare the contents of two strings, in a case insensitive manner.
Only the characters a-z and A-Z are considered for the comparison.
THIS FUNCTION DOES NOT COMPARE STRINGS LIKE strcmp() OR ANY OTHER "COLLATION" ALGORITHM.
| theLHS | first string to compare | |
| theRHS | second string to compare |
| int compareIgnoreCaseASCII | ( | const XalanDOMString & | theLHS, | |
| const XalanDOMChar * | theRHS | |||
| ) |
Compare the contents of two strings, in a case insensitive manner.
Only the characters a-z and A-Z are considered as characters with "case".
THIS FUNCTION DOES NOT COMPARE STRINGS LIKE strcmp() OR ANY OTHER "COLLATION" ALGORITHM.
| theLHS | first string to compare | |
| theRHS | second string to compare |
| int compareIgnoreCaseASCII | ( | const XalanDOMString & | theLHS, | |
| const XalanDOMString & | theRHS | |||
| ) |
Compare the contents of two strings, in a case insensitive manner.
Only the characters a-z and A-Z are considered as characters with "case".
THIS FUNCTION DOES NOT COMPARE STRINGS LIKE strcmp() OR ANY OTHER "COLLATION" ALGORITHM.
| theLHS | first string to compare | |
| theRHS | second string to compare |
| int compareIgnoreCaseASCII | ( | const XalanDOMChar * | theLHS, | |
| const XalanDOMChar * | theRHS | |||
| ) |
Compare the contents of two strings, in a case insensitive manner.
Only the characters a-z and A-Z are considered as characters with "case".
THIS FUNCTION DOES NOT COMPARE STRINGS LIKE strcmp() OR ANY OTHER "COLLATION" ALGORITHM.
| theLHS | first string to compare | |
| theRHS | second string to compare |
| 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.
Only the characters a-z and A-Z are considered as characters with "case".
THIS FUNCTION DOES NOT COMPARE STRINGS LIKE strcmp() OR ANY OTHER "COLLATION" ALGORITHM.
| theLHS | first array to compare | |
| theLHSLength | the length of the first array | |
| theRHS | second array to compare | |
| theRHSLength | the length of the second array |
| CopyStringToVector | ( | const char * | theString, | |
| CharVectorType & | theVector | |||
| ) |
| CopyWideStringToVector | ( | const XalanDOMChar * | theString, | |
| CharVectorType & | theVector | |||
| ) |
| double DOMStringToDouble | ( | const XalanDOMString & | theString, | |
| MemoryManager & | theMemoryManager | |||
| ) |
Converts a XalanDOMString into a double value.
| theString | target string | |
| theMemoryManager | The MemoryManager instance to use. |
| int DOMStringToInt | ( | const XalanDOMString & | theString | ) |
Converts a XalanDOMString into an integer value.
| theString | target string |
| long DOMStringToLong | ( | const XalanDOMString & | theString | ) |
Converts a XalanDOMString into a long value.
| theString | target string |
| unsigned long DOMStringToUnsignedLong | ( | const XalanDOMString & | theString | ) |
Converts a XalanDOMString into a long value.
| theString | target string |
| DoubleToDOMString | ( | double | theValue, | |
| XalanDOMString & | theResult | |||
| ) |
Converts a double value into a XalanDOMString.
| theValue | number to be converted | |
| theResult | the string to append with the result |
| bool endsWith | ( | const XalanDOMString & | theString, | |
| const XalanDOMString & | theSubstring | |||
| ) |
Simulates the java String method endsWith().
| theString | target string to search | |
| theSubstring | substring searched for |
| bool endsWith | ( | const XalanDOMChar * | theString, | |
| const XalanDOMChar * | theSubstring | |||
| ) |
Simulates the java String method endsWith().
| theString | target string to search | |
| theSubstring | substring searched for |
| endsWith | ( | const XalanDOMChar * | theString, | |
| XalanDOMString::size_type | theStringLength, | |||
| const XalanDOMChar * | theSubstring, | |||
| XalanDOMString::size_type | theSubstringLength | |||
| ) |
Simulates the java String method endsWith().
| theString | target string to search | |
| theSubstring | substring searched for |
| bool equals | ( | const XalanDOMString & | theLHS, | |
| const XalanDOMChar * | theRHS, | |||
| XalanDOMString::size_type | theRHSLength | |||
| ) |
Compare the contents of two strings for equality.
| theLHS | first string to compare | |
| theRHS | second string to compare | |
| theRHSLength | the length of the theRHS |
| bool equals | ( | const XalanDOMString & | theLHS, | |
| const XalanDOMChar * | theRHS | |||
| ) |
Compare the contents of two strings for equality.
| theLHS | first string to compare | |
| theRHS | second string to compare |
| bool equals | ( | const XalanDOMChar * | theLHS, | |
| const XalanDOMString & | theRHS | |||
| ) |
Compare the contents of two strings for equality.
| theLHS | first string to compare | |
| theRHS | second string to compare |
| bool equals | ( | const XalanDOMString & | theLHS, | |
| const XalanDOMString & | theRHS | |||
| ) |
Compare the contents of two strings for equality.
| theLHS | first string to compare | |
| theRHS | second string to compare |
| bool equals | ( | const XalanDOMChar * | theLHS, | |
| const XalanDOMChar * | theRHS | |||
| ) |
Compare the contents of two strings for equality.
| theLHS | first string to compare | |
| theRHS | second string to compare |
| bool equals | ( | const XalanDOMChar * | theLHS, | |
| XalanDOMString::size_type | theLHSLength, | |||
| const XalanDOMChar * | theRHS, | |||
| XalanDOMString::size_type | theRHSLength | |||
| ) |
Compare the contents of two arrays for equality.
| theLHS | first array to compare | |
| theLHSLength | the length of the theLHS | |
| theRHS | second array to compare | |
| theRHSLength | the length of the theRHS |
| equals | ( | const XalanDOMChar * | theLHS, | |
| const XalanDOMChar * | theRHS, | |||
| XalanDOMString::size_type | theLength | |||
| ) |
Compare the contents of two arrays for equality.
| theLHS | first array to compare | |
| theRHS | second array to compare | |
| theLength | the length of the arrays |
| bool equalsIgnoreCaseASCII | ( | const XalanDOMString & | theLHS, | |
| const XalanDOMChar * | theRHS | |||
| ) |
Compare the contents of two strings for equality, without regard for case.
Only the characters A-Z and a-z are considered.
| theLHS | first string to compare | |
| theRHS | second string to compare |
| bool equalsIgnoreCaseASCII | ( | const XalanDOMChar * | theLHS, | |
| const XalanDOMString & | theRHS | |||
| ) |
Compare the contents of two strings for equality, without regard for case.
Only the characters a-z and A-Z are considered characters with "case".
| theLHS | first string to compare | |
| theRHS | second string to compare |
| bool equalsIgnoreCaseASCII | ( | const XalanDOMString & | theLHS, | |
| const XalanDOMString & | theRHS | |||
| ) |
Compare the contents of two strings for equality, without regard for case Only the characters A-Z and a-z are considered.
| theLHS | first string to compare | |
| theRHS | second string to compare |
| bool equalsIgnoreCaseASCII | ( | const XalanDOMChar * | theLHS, | |
| const XalanDOMChar * | theRHS | |||
| ) |
Compare the contents of two strings for equality, without regard for case.
Only the characters a-z and A-Z are considered characters with "case".
| theLHS | first string to compare | |
| theRHS | second string to compare |
| bool equalsIgnoreCaseASCII | ( | const XalanDOMChar * | theLHS, | |
| XalanDOMString::size_type | theLHSLength, | |||
| const XalanDOMChar * | theRHS, | |||
| XalanDOMString::size_type | theRHSLength | |||
| ) |
Compare the contents of two strings for equality, without regard for case.
Only the characters a-z and A-Z are considered characters with "case".
| theLHS | first string to compare | |
| theLHSLength | the length of the theLHS | |
| theRHS | second string to compare | |
| theRHSLength | the length of the theRHS |
| equalsIgnoreCaseASCII | ( | const XalanDOMChar * | theLHS, | |
| const XalanDOMChar * | theRHS, | |||
| XalanDOMString::size_type | theLength | |||
| ) |
Compare the contents of two arrays for equality, without regard for case.
Only the characters a-z and A-Z are considered characters with "case".
| theLHS | first string to compare | |
| theRHS | second string to compare |
| void erase | ( | XalanDOMString & | theString | ) |
Remove all elements from target string.
| theString | target string |
| indexOf | ( | const XalanDOMString & | theString, | |
| const XalanDOMString & | theSubstring | |||
| ) |
Simulates the java String method indexOf().
| theString | string to search | |
| theSubstring | substring searched for |
| indexOf | ( | const XalanDOMChar * | theString, | |
| const XalanDOMChar * | theSubstring | |||
| ) |
Simulates the java String method indexOf().
| theString | string to search | |
| theSubstring | substring searched for |
| indexOf | ( | const XalanDOMChar * | theString, | |
| XalanDOMString::size_type | theStringLength, | |||
| const XalanDOMChar * | theSubstring, | |||
| XalanDOMString::size_type | theSubstringLength | |||
| ) |
Simulates the java String method indexOf().
| theString | string to search | |
| theStringLength | length of the string to search | |
| theSubstring | substring searched for | |
| theSubstringLength | length of the substring searched for |
| XalanDOMString::size_type indexOf | ( | const XalanDOMString & | theString, | |
| XalanDOMChar | theChar | |||
| ) |
Simulates the java String method indexOf().
| theString | string to search | |
| theChar | character searched for |
| XalanDOMString::size_type indexOf | ( | const XalanDOMChar * | theString, | |
| XalanDOMString::size_type | theStringLength, | |||
| XalanDOMChar | theChar | |||
| ) |
Simulates the java String method indexOf().
| theString | string to search | |
| theStringLength | the length of theString | |
| theChar | character searched for |
| XalanDOMString::size_type indexOf | ( | const XalanDOMChar * | theString, | |
| XalanDOMChar | theChar | |||
| ) |
Simulates the java String method indexOf().
| theString | string to search | |
| theChar | character searched for |
| XalanDOMString& insert | ( | XalanDOMString & | theString, | |
| XalanDOMString::size_type | thePosition, | |||
| const XalanDOMChar * | theStringToInsert | |||
| ) |
Insert a string into another string.
| theString | target string | |
| thePosition | The position in the target string to insert | |
| theStringToInsert | The string to insert |
| XalanDOMString& insert | ( | XalanDOMString & | theString, | |
| XalanDOMString::size_type | thePosition, | |||
| const XalanDOMString & | theStringToInsert | |||
| ) |
Insert a string into another string.
| theString | target string | |
| thePosition | The position in the target string to insert | |
| theStringToInsert | The string to insert |
| bool isEmpty | ( | const XalanDOMString & | str | ) |
Determines if the target string contains any elements.
| str | target string |
| bool isXMLDigit | ( | XalanDOMChar | theChar | ) |
Determines whether character represents a digit.
| theChar | target character |
| bool isXMLLetterOrDigit | ( | XalanDOMChar | theChar | ) |
Determines whether character represents a letter or digit.
| theChar | target character |
| bool isXMLWhitespace | ( | const XalanDOMChar * | theString | ) |
Determines if a null-terminated string contains only whitespace.
| theString | target string |
| isXMLWhitespace | ( | const XalanDOMChar | ch[], | |
| XalanDOMString::size_type | start, | |||
| XalanDOMString::size_type | length | |||
| ) |
Determines if a range in an array contains only whitespace.
| ch | target array | |
| start | starting index to examine | |
| length | number of characters to examine |
| isXMLWhitespace | ( | const XalanDOMString & | string | ) |
Determines if the string contains only whitespace.
| theString | target string |
| bool isXMLWhitespace | ( | XalanDOMChar | theChar | ) |
Determines whether character represents white space.
| theChar | target character |
| XalanDOMString::size_type lastIndexOf | ( | const XalanDOMString & | theString, | |
| XalanDOMChar | theChar | |||
| ) |
Simulates the java String method lastIndexOf().
| theString | string to search | |
| theChar | character searched for |
| lastIndexOf | ( | const XalanDOMChar * | theString, | |
| XalanDOMChar | theChar | |||
| ) |
Simulates the java String method lastIndexOf().
| theString | string to search | |
| theChar | character searched for |
| XalanDOMString::size_type length | ( | const char * | theString | ) |
Get the length of a null-terminated string.
| theString | target string |
| XalanDOMString::size_type length | ( | const XalanDOMChar * | theString | ) |
Get the length of a null-terminated string of XalanDOMChar characters.
| theString | target string |
| XalanDOMString::size_type length | ( | const XalanDOMString & | theString | ) |
Get the length of a XalanDOMString.
| theString | target string |
| LongToDOMString | ( | long | theValue, | |
| XalanDOMString & | theResult | |||
| ) |
Converts a long value into a XalanDOMString.
| theValue | number to be converted | |
| theResult | the string to append with the result |
| LongToHexDOMString | ( | long | theValue, | |
| XalanDOMString & | theResult | |||
| ) |
Converts a long value into a XalanDOMString.
Negative values are ignored.
| theValue | number to be converted | |
| theResult | the string to append with the result |
| XalanDOMCharVectorType& MakeXalanDOMCharVector | ( | const XalanDOMString & | data, | |
| XalanDOMCharVectorType & | result | |||
| ) |
Utility function to make a null-terminated vector of XMLChs, from a XalanDOMString.
| data | XalanDOMString to be converted |
| MakeXalanDOMCharVector | ( | const XalanDOMChar * | data, | |
| XalanDOMCharVectorType & | result | |||
| ) |
Utility function to make a null-terminated vector of XMLChs, from a null-terminated array of XalanDOMChar.
| data | array to be converted |
| 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, via transcoding, if requested.
| data | array to be converted | |
| whether | or not to transcode |
| bool operator< | ( | const XalanDOMString & | theLHS, | |
| const XalanDOMString & | theRHS | |||
| ) |
Implements operator< for DOMStrings.
| theLHS | first string to compare | |
| theRHS | second string to compare |
| bool operator< | ( | const CharVectorType & | theLHS, | |
| const CharVectorType & | theRHS | |||
| ) |
Implements operator< for CharVectorType.
| theLHS | first string to compare | |
| theRHS | second string to compare |
| std::ostream& operator<< | ( | std::ostream & | theStream, | |
| XalanDOMString & | theString | |||
| ) |
Outputs the target string to the specified stream.
| theStream | output stream | |
| theString | target string |
| std::ostream& operator<< | ( | std::ostream & | theStream, | |
| const XalanDOMString & | theString | |||
| ) |
Outputs the target string to the specified stream.
| theStream | output stream | |
| theString | target string |
| XalanOutputStream& operator<< | ( | XalanOutputStream & | theStream, | |
| const XalanDOMString & | theString | |||
| ) |
Outputs the target string to the specified stream.
| theStream | output stream | |
| theString | target string |
| std::ostream& operator<< | ( | std::ostream & | theStream, | |
| const XalanDOMChar * | theString | |||
| ) |
Outputs the target string to the specified stream.
| theStream | output stream | |
| theString | target string |
| XalanOutputStream& operator<< | ( | XalanOutputStream & | theStream, | |
| const XalanDOMChar * | theString | |||
| ) |
Outputs the target string to the specified stream.
| theStream | output stream | |
| theString | target string |
| std::ostream& operator<< | ( | std::ostream & | theStream, | |
| const CharVectorType & | theString | |||
| ) |
Outputs the string to the specified stream.
| theStream | output stream | |
| theString | the string to output |
| XalanOutputStream& operator<< | ( | XalanOutputStream & | theStream, | |
| const CharVectorType & | theString | |||
| ) |
Outputs the string to the specified stream.
| theStream | output stream | |
| theString | the string to output |
| void OutputString | ( | std::ostream & | theStream, | |
| const XalanDOMString & | theString, | |||
| MemoryManager & | theMemoryManager | |||
| ) |
Outputs the target string to the specified stream.
| theStream | output stream | |
| theString | target string | |
| theMemoryManager | The MemoryManager instance to use. |
| void OutputString | ( | XalanOutputStream & | theStream, | |
| const XalanDOMString & | theString | |||
| ) |
Outputs the target string to the specified stream.
| theStream | output stream | |
| theString | target string |
| OutputString | ( | std::ostream & | theStream, | |
| const XalanDOMChar * | theString, | |||
| MemoryManager & | theMemoryManager | |||
| ) |
Outputs the target string to the specified stream.
| theStream | output stream | |
| theString | target string |
| OutputString | ( | XalanOutputStream & | theStream, | |
| const XalanDOMChar * | theString | |||
| ) |
Outputs the target string to the specified stream.
| theStream | output stream | |
| theString | target string |
| OutputString | ( | std::ostream & | theStream, | |
| const CharVectorType & | theString | |||
| ) |
Outputs the target string to the specified stream.
| theStream | output stream | |
| theString | target string |
| OutputString | ( | XalanOutputStream & | theStream, | |
| const CharVectorType & | theString | |||
| ) |
Outputs the target string to the specified stream.
| theStream | output stream | |
| theString | target string |
| PointerToDOMString | ( | const void * | theValue, | |
| XalanDOMString & | theResult | |||
| ) |
Converts a pointer into a XalanDOMString.
| theValue | pointer to be converted | |
| theResult | the string to append with the result |
| void releaseMemory | ( | XalanDOMString & | theString, | |
| MemoryManagerType & | theManager | |||
| ) |
Remove all elements from target string and frees all allocated memory.
| theString | target string |
| void reserve | ( | XalanDOMString & | theString, | |
| XalanDOMString::size_type | theCount | |||
| ) |
Reserve some space in the string for more efficient concatenation.
..
| theString | target string | |
| theCount | The amount of space to reserve |
| bool startsWith | ( | const XalanDOMString & | theString, | |
| const XalanDOMString & | theSubstring | |||
| ) |
Simulates the java String method startsWith().
| theDOMString | target string to search | |
| theSubstring | substring searched for |
| bool startsWith | ( | const XalanDOMString & | theString, | |
| const XalanDOMChar * | theSubstring, | |||
| XalanDOMString::size_type | theSubstringLength | |||
| ) |
Simulates the java String method startsWith().
| theDOMString | target string to search | |
| theSubstring | substring searched for | |
| theSubstringLength | the length of theSubstring |
| bool startsWith | ( | const XalanDOMString & | theString, | |
| const XalanDOMChar * | theSubstring | |||
| ) |
Simulates the java String method startsWith().
| theDOMString | target string to search | |
| theSubstring | substring searched for |
| bool startsWith | ( | const XalanDOMChar * | theString, | |
| const XalanDOMString & | theSubstring | |||
| ) |
Simulates the java String method startsWith().
| theDOMString | target string to search | |
| theSubstring | substring searched for |
| bool startsWith | ( | const XalanDOMChar * | theString, | |
| const XalanDOMChar * | theSubstring | |||
| ) |
Simulates the java String method startsWith().
| theDOMString | target string to search | |
| theSubstring | substring searched for |
| startsWith | ( | const XalanDOMChar * | theString, | |
| XalanDOMString::size_type | theStringLength, | |||
| const XalanDOMChar * | theSubstring, | |||
| XalanDOMString::size_type | theSubstringLength | |||
| ) |
Simulates the java String method startsWith().
| theString | target string to search | |
| theStringLength | the length of theString | |
| theSubstring | substring searched for | |
| theSubstringLength | the length of theSubstring |
| substring | ( | const XalanDOMString & | theString, | |
| XalanDOMString::size_type | theStartIndex, | |||
| XalanDOMString & | theResult, | |||
| XalanDOMString::size_type | theEndIndex = XalanDOMString::npos | |||
| ) |
Simulates the java String method substring().
Returns a new string that is a substring of this string. The substring begins at the specified theStartIndex and extends to the character at index theEndIndex - 1. Thus the length of the substring is theEndIndex-theStartIndex.
| theString | source string | |
| theStartIndex | starting index, inclusive | |
| theEndIndex | ending index, exclusive |
| substring | ( | const XalanDOMString & | theString, | |
| XalanDOMString & | theSubstring, | |||
| XalanDOMString::size_type | theStartIndex, | |||
| XalanDOMString::size_type | theEndIndex = XalanDOMString::npos | |||
| ) |
Simulates the java String method substring().
Returns a new string that is a substring of this string. The substring begins at the specified theStartIndex and extends to the character at index theEndIndex - 1. Thus the length of the substring is theEndIndex - theStartIndex.
| theString | source string | |
| theSubstring | target string | |
| theStartIndex | starting index, inclusive | |
| theEndIndex | ending index, exclusive |
| substring | ( | const XalanDOMChar * | theString, | |
| XalanDOMString & | theSubstring, | |||
| XalanDOMString::size_type | theStartIndex, | |||
| XalanDOMString::size_type | theEndIndex = XalanDOMString::npos | |||
| ) |
Simulates the java String method substring().
Returns a new string that is a substring of this string. The substring begins at the specified theStartIndex and extends to the character at index theEndIndex - 1. Thus the length of the substring is theEndIndex - theStartIndex.
| theString | source string | |
| theSubstring | target string | |
| theStartIndex | starting index, inclusive | |
| theEndIndex | ending index, exclusive |
| const char* toCharArray | ( | const CharVectorType & | theString | ) |
Get the underlying representation of the target CharVectorType as a pointer to an array of characters.
| theString | target string |
| const XalanDOMChar* toCharArray | ( | const XalanDOMChar * | theString | ) |
Get the underlying representation of a XalanDOMChar.
| theString | target string |
| 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.
| theString | target string |
| XalanDOMChar toLowerASCII | ( | XalanDOMChar | theChar | ) |
Converts ASCII alphabetic characters from upper case to lower case.
This function works only with the Unicode characters A-Z.
| theString | target string |
| toLowerCaseASCII | ( | XalanDOMString & | theString | ) |
Converts ASCII alphabetic characters from upper case to lower case.
This function works only with the characters a-z and A-Z.
| theString | The string to convert |
| toLowerCaseASCII | ( | const XalanDOMString & | theString, | |
| XalanDOMString & | theResult | |||
| ) |
Converts ASCII alphabetic characters from upper case to lower case.
This function works only with the characters a-z and A-Z.
| theString | The source string | |
| theResult | The target string |
| toLowerCaseASCII | ( | const XalanDOMChar * | theString, | |
| XalanDOMString & | theResult | |||
| ) |
Converts ASCII alphabetic characters from upper case to lower case.
This function works only with the characters a-z and A-Z.
| theString | The source string | |
| theResult | The target string |
| XalanDOMChar toUpperASCII | ( | XalanDOMChar | theChar | ) |
Converts ASCII alphabetic characters from lower case to upper case.
This function works only with the Unicode characters a-z.
| theString | target string |
| toUpperCaseASCII | ( | XalanDOMString & | theString | ) |
Converts ASCII alphabetic characters from lower case to upper case.
This function works only with the characters a-z and A-Z.
| theString | The string to convert |
| toUpperCaseASCII | ( | const XalanDOMString & | theString, | |
| XalanDOMString & | theResult | |||
| ) |
Converts ASCII alphabetic characters from lower case to upper case.
This function works only with the characters a-z and A-Z.
| theString | The source string | |
| theResult | The target string |
| toUpperCaseASCII | ( | const XalanDOMChar * | theString, | |
| XalanDOMString & | theResult | |||
| ) |
Converts ASCII alphabetic characters from lower case to upper case.
This function works only with the characters a-z and A-Z.
| theString | The source string | |
| theResult | The target string |
| trim | ( | const XalanDOMString & | theString, | |
| XalanDOMString & | theResult | |||
| ) |
Remove trailing whitespace.
| theString | target string |
| UnsignedLongToDOMString | ( | unsigned long | theValue, | |
| XalanDOMString & | theResult | |||
| ) |
Converts an unsigned long value and appends the result to a XalanDOMString.
| theValue | number to be converted | |
| theResult | the string to append with the result |
| UnsignedLongToHexDOMString | ( | unsigned long | theValue, | |
| XalanDOMString & | theResult | |||
| ) |
Converts an unsigned long value and appends the result to a XalanDOMString.
| theValue | number to be converted | |
| theResult | the string to append with the result |
| WideStringToDouble | ( | const XalanDOMChar * | theString, | |
| MemoryManager & | theMemoryManager | |||
| ) |
Converts a wide string into a double value.
| theString | target string | |
| theMemoryManager | The MemoryManager instance to use. |
| WideStringToInt | ( | const XalanDOMChar * | theString | ) |
Converts a wide string into an integer value.
| theString | target string |
| WideStringToLong | ( | const XalanDOMChar * | theString | ) |
Converts a wide string into a long value.
| theString | target string |
| WideStringToUnsignedLong | ( | const XalanDOMChar * | theString | ) |
Converts a wide string into an unsigned long value.
| theString | target string |
| OutputIteratorType XalanCopy | ( | InputIteratorType | begin, | |
| InputIteratorType | end, | |||
| OutputIteratorType | iterator | |||
| ) |
| OutputIteratorType XalanTransform | ( | InputIteratorType | begin, | |
| InputIteratorType | end, | |||
| OutputIteratorType | iterator, | |||
| UnaryFunction | function | |||
| ) |
Doxygen and GraphViz are used to generate this API documentation from the Xalan-C header files.
|
Xalan-C++ XSLT Processor Version 1.10 |
|
|