#include <xalanc/XalanDOM/XalanDOMDefinitions.hpp>
#include <cassert>
#include <xalanc/Include/STLHelper.hpp>
#include <xalanc/Include/XalanMemoryManagement.hpp>
#include <xalanc/Include/XalanVector.hpp>
#include <xalanc/XalanDOM/XalanDOMException.hpp>
Go to the source code of this file.
Classes | |
class | XalanDOMString |
class | XalanDOMString::TranscodingError |
struct | DOMStringHashFunction |
Hash functor for DOMStrings. More... | |
struct | DOMStringPointerHashFunction |
Hash functor for DOMStrings. More... | |
struct | XalanMapKeyTraits< XalanDOMString * > |
struct | XalanMapKeyTraits< const XalanDOMString * > |
struct | DOMStringEqualsFunction |
Equals functor for DOMStrings. More... | |
struct | DOMStringNotEqualsFunction |
Not equals functor for DOMStrings. More... | |
struct | DOMStringLessThanFunction |
Less than functor for DOMStrings. More... | |
struct | DOMStringPointerEqualToFunction |
Equal to functor for DOMStrings. More... | |
struct | DOMStringPointerLessThanFunction |
Less than functor for DOMStrings. More... | |
struct | XalanMapKeyTraits< XalanDOMString > |
Typedefs | |
typedef XalanVector< XalanDOMChar > | XalanDOMCharVectorType |
typedef XalanVector< char > | CharVectorType |
Functions | |
bool | operator== (const XalanDOMString &theLHS, const XalanDOMString &theRHS) |
bool | operator== (const XalanDOMString &theLHS, const XalanDOMChar *theRHS) |
bool | operator== (const XalanDOMChar *theLHS, const XalanDOMString &theRHS) |
bool | operator!= (const XalanDOMString &theLHS, const XalanDOMString &theRHS) |
bool | operator!= (const XalanDOMChar *theLHS, const XalanDOMString &theRHS) |
bool | operator!= (const XalanDOMString &theLHS, const XalanDOMChar *theRHS) |
TranscodeToLocalCodePage (const XalanDOMChar *theSourceString, XalanDOMString::size_type theSourceStringLength, CharVectorType &targetVector, bool terminate=false) | |
Convert a XalanDOMChar string to C++ standard library vector, transcoding to the default local code page. More... | |
TranscodeToLocalCodePage (const XalanDOMChar *theSourceString, XalanDOMString::size_type theSourceStringLength, CharVectorType &targetVector, bool terminate, char theSubstitutionChar) | |
Convert a XalanDOMChar string to C++ standard library vector, transcoding to the default local code page. More... | |
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. More... | |
TranscodeToLocalCodePage (const XalanDOMChar *theSourceString, CharVectorType &targetVector, bool terminate=false) | |
Convert a XalanDOMChar string to C++ standard library vector, transcoding to the default local code page. More... | |
TranscodeToLocalCodePage (const XalanDOMChar *theSourceString, CharVectorType &targetVector, bool terminate, char theSubstitutionChar) | |
Convert a XalanDOMChar string to C++ standard library vector, transcoding to the default local code page. More... | |
const CharVectorType | TranscodeToLocalCodePage (const XalanDOMChar *theSourceString) |
Convert XalanDOMString to C++ standard library vector, transcoding to the default local code page. More... | |
bool | TranscodeToLocalCodePage (const XalanDOMString &theSourceString, CharVectorType &theTargetVector, bool terminate=false) |
Convert XalanDOMString to C++ standard library vector, transcoding to the default local code page. More... | |
TranscodeToLocalCodePage (const XalanDOMString &theSourceString, CharVectorType &theTargetVector, bool terminate, char theSubstitutionChar) | |
Convert XalanDOMString to C++ standard library vector, transcoding to the default local code page. More... | |
const CharVectorType | TranscodeToLocalCodePage (const XalanDOMString &theSourceString) |
Convert XalanDOMString to C++ standard library vector, transcoding to the default local code page. More... | |
const XalanDOMString & | TranscodeFromLocalCodePage (const char *theSourceString, XalanDOMString &theResult, XalanDOMString::size_type theSourceStringLength=XalanDOMString::npos) |
Convert a string to a XalanDOMString, transcoding from the default local code page. More... | |
TranscodeFromLocalCodePage (const char *theSourceString, XalanDOMString::size_type theSourceStringLength, XalanDOMCharVectorType &theTargetVector, bool terminate=false) | |
Convert a string to a C++ standard library vector, transcoding from the default local code page. More... | |
TranscodeFromLocalCodePage (const char *theSourceString, XalanDOMCharVectorType &theTargetVector, bool terminate=false) | |
Convert a string to a C++ standard library vector, transcoding from the default local code page. More... | |
TranscodeFromLocalCodePage (const char *theSourceString, XalanDOMString::size_type theSourceStringLength, bool theSourceStringIsNullTerminated, XalanDOMCharVectorType &theTargetVector, bool terminate=false) | |
Convert a string to a C++ standard library vector, transcoding from the default local code page. More... | |
TranscodeFromLocalCodePage (const CharVectorType &theSourceString, XalanDOMString &theResult) | |
Convert a vector of characters to a XalanDOMString, transcoding from the default local code. More... | |
typedef XalanVector<char> CharVectorType |
Definition at line 1150 of file XalanDOMString.hpp.
typedef XalanVector<XalanDOMChar> XalanDOMCharVectorType |
Definition at line 1148 of file XalanDOMString.hpp.
|
inline |
Definition at line 1049 of file XalanDOMString.hpp.
|
inline |
Definition at line 1059 of file XalanDOMString.hpp.
|
inline |
Definition at line 1069 of file XalanDOMString.hpp.
|
inline |
Definition at line 1018 of file XalanDOMString.hpp.
|
inline |
Definition at line 1028 of file XalanDOMString.hpp.
|
inline |
Definition at line 1038 of file XalanDOMString.hpp.
|
inline |
Convert a string to a XalanDOMString, transcoding from the default local code page.
theSourceString | The source string |
theSourceStringLength | The source string length. |
Definition at line 1205 of file XalanDOMString.hpp.
|
inline |
Convert a string to a XalanDOMString, transcoding from the default local code page.
theSourceString | The source string |
theResult | The result. |
theSourceStringLength | The source string length. |
Definition at line 1339 of file XalanDOMString.hpp.
TranscodeFromLocalCodePage | ( | const char * | theSourceString, |
XalanDOMString::size_type | theSourceStringLength, | ||
XalanDOMCharVectorType & | theTargetVector, | ||
bool | terminate = false |
||
) |
Convert a string to a C++ standard library vector, transcoding from the default local code page.
theSourceString | The source string |
theSourceStringLength | The source string length. |
targetVector | The target string |
terminate | If true, the transcoded string will be null-terminated |
TranscodeFromLocalCodePage | ( | const char * | theSourceString, |
XalanDOMCharVectorType & | theTargetVector, | ||
bool | terminate = false |
||
) |
Convert a string to a C++ standard library vector, transcoding from the default local code page.
The string must be null-terminated.
sourceString | The source string |
targetVector | The target string |
terminate | If true, the transcoded string will be null-terminated |
TranscodeFromLocalCodePage | ( | const char * | theSourceString, |
XalanDOMString::size_type | theSourceStringLength, | ||
bool | theSourceStringIsNullTerminated, | ||
XalanDOMCharVectorType & | theTargetVector, | ||
bool | terminate = false |
||
) |
Convert a string to a C++ standard library vector, transcoding from the default local code page.
theSourceString | The source string |
theSourceStringLength | The source string length. |
theSourceStringIsNullTerminated | true if the source string is null-terminated, otherwise false. |
targetVector | The target string |
terminate | If true, the transcoded string will be null-terminated |
TranscodeFromLocalCodePage | ( | const CharVectorType & | theSourceString, |
XalanDOMString & | theResult | ||
) |
Convert a vector of characters to a XalanDOMString, transcoding from the default local code.
theSourceString | The source vector. |
theResult | The result. |
TranscodeToLocalCodePage | ( | const XalanDOMChar * | theSourceString, |
XalanDOMString::size_type | theSourceStringLength, | ||
CharVectorType & | targetVector, | ||
bool | terminate = false |
||
) |
Convert a XalanDOMChar string to C++ standard library vector, transcoding to the default local code page.
sourceString | The source string |
sourceStringLength | The source string length. |
targetVector | The target string |
terminate | If true, the transcoded string will be null-terminated |
TranscodeToLocalCodePage | ( | const XalanDOMChar * | theSourceString, |
XalanDOMString::size_type | theSourceStringLength, | ||
CharVectorType & | targetVector, | ||
bool | terminate, | ||
char | theSubstitutionChar | ||
) |
Convert a XalanDOMChar string to C++ standard library vector, transcoding to the default local code page.
If the source string contines code points, that can't be represented in the local code page, the substitution character will be used
sourceString | The source string |
sourceStringLength | The source string length. |
targetVector | The target string |
terminate | If true, the transcoded string will be null-terminated |
theSubstitutionChar | The substitution character for code points that are not presentable in the local page |
TranscodeToLocalCodePage | ( | const XalanDOMChar * | theSourceString, |
CharVectorType & | targetVector, | ||
bool | terminate = false |
||
) |
Convert a XalanDOMChar string to C++ standard library vector, transcoding to the default local code page.
The string must be null-terminated.
theSourceString | The source string |
targetVector | The target string |
terminate | If true, the transcoded string will be null-terminated |
TranscodeToLocalCodePage | ( | const XalanDOMChar * | theSourceString, |
CharVectorType & | targetVector, | ||
bool | terminate, | ||
char | theSubstitutionChar | ||
) |
Convert a XalanDOMChar string to C++ standard library vector, transcoding to the default local code page.
The string must be null-terminated.
theSourceString | The source string |
targetVector | The target string |
terminate | If true, the transcoded string will be null-terminated |
|
inline |
Convert XalanDOMString to C++ standard library vector, transcoding to the default local code page.
Null-terminate the sttring...
theSourceString | source string |
Definition at line 1256 of file XalanDOMString.hpp.
|
inline |
Convert XalanDOMString to C++ standard library vector, transcoding to the default local code page.
theSourceString | The source string |
theTargetVector | The target string |
Definition at line 1277 of file XalanDOMString.hpp.
TranscodeToLocalCodePage | ( | const XalanDOMString & | theSourceString, |
CharVectorType & | theTargetVector, | ||
bool | terminate, | ||
char | theSubstitutionChar | ||
) |
Convert XalanDOMString to C++ standard library vector, transcoding to the default local code page.
theSourceString | The source string |
targetVector | The target string |
terminate | If true, the transcoded string will be null-terminated |
theSubstitutionChar | The substitution character for code points that are not presentable in the local page |
|
inline |
Convert XalanDOMString to C++ standard library vector, transcoding to the default local code page.
thetheSourceString | source string |
Definition at line 1318 of file XalanDOMString.hpp.
Doxygen and GraphViz are used to generate this API documentation from the Xalan-C header files.
Xalan-C++ XSLT Processor Version 1.11 |
|