Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.10

Classes | Typedefs | Functions
XalanDOMString.hpp File Reference

Go to the source code of this file.

Classes

Typedefs

Functions


Typedef Documentation

typedef XalanVector<char> CharVectorType
typedef XalanVector<XalanDOMChar> XalanDOMCharVectorType

Function Documentation

XalanDOMString& add ( const XalanDOMString theLHS,
const XalanDOMString theRHS,
XalanDOMString result 
)
XalanDOMString& add ( const XalanDOMString theLHS,
const XalanDOMChar *  theRHS,
XalanDOMString result 
)
XalanDOMString& add ( const XalanDOMChar *  theLHS,
const XalanDOMString theRHS,
XalanDOMString result 
)
const XalanDOMString& add ( const char *  theLHS,
const XalanDOMString theRHS,
XalanDOMString result 
)
const XalanDOMString& add ( const XalanDOMString theLHS,
const char *  theRHS,
XalanDOMString result 
)
bool operator!= ( const XalanDOMChar *  theLHS,
const XalanDOMString theRHS 
)
bool operator!= ( const XalanDOMString theLHS,
const XalanDOMString theRHS 
)
bool operator!= ( const XalanDOMString theLHS,
const XalanDOMChar *  theRHS 
)
bool operator== ( const XalanDOMString theLHS,
const XalanDOMChar *  theRHS 
)
bool operator== ( const XalanDOMString theLHS,
const XalanDOMString theRHS 
)
bool operator== ( const XalanDOMChar *  theLHS,
const XalanDOMString theRHS 
)
const XalanDOMString& TranscodeFromLocalCodePage ( const char *  theSourceString,
XalanDOMString result,
XalanDOMString::size_type  theSourceStringLength = XalanDOMString::npos 
)

Convert a string to a XalanDOMString, transcoding from the default local code page.

Parameters:
theSourceStringThe source string
theSourceStringLengthThe source string length.
Returns:
The new string.
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.

Parameters:
theSourceStringThe source string
theSourceStringLengthThe source string length.
targetVectorThe target string
terminateIf true, the transcoded string will be null-terminated
Returns:
true if successful, false if not.
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.

Parameters:
sourceStringThe source string
targetVectorThe target string
terminateIf true, the transcoded string will be null-terminated
Returns:
true if successful, false if not.
TranscodeFromLocalCodePage ( const CharVectorType theSourceString,
XalanDOMString result 
)

Convert a vector of characters to a XalanDOMString, transcoding from the default local code.

Parameters:
theSourceStringsource string
Returns:
The transcoded string.
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.

Parameters:
theSourceStringThe source string
theSourceStringLengthThe source string length.
Returns:
The new string.
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.

Parameters:
sourceStringThe source string
sourceStringLengthThe source string length.
targetVectorThe target string
terminateIf true, the transcoded string will be null-terminated
Returns:
true if successful, false if not.
const CharVectorType TranscodeToLocalCodePage ( const XalanDOMString theSourceString)

Convert XalanDOMString to C++ standard library vector, transcoding to the default local code page.

Parameters:
thetheSourceStringsource string
Returns:
The transcoded string.
void TranscodeToLocalCodePage ( const XalanDOMString theSourceString,
CharVectorType targetVector,
bool  terminate,
char  theSubstitutionChar 
)

Convert XalanDOMString to C++ standard library vector, transcoding to the default local code page.

Parameters:
theSourceStringThe source string
targetVectorThe target string
theSubstitutionCharThe 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.

Parameters:
theSourceStringThe source string
targetVectorThe target string
terminateIf true, the transcoded string will be null-terminated
Returns:
true if successful, false if not.
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

Parameters:
sourceStringThe source string
sourceStringLengthThe source string length.
targetVectorThe target string
terminateIf true, the transcoded string will be null-terminated
theSubstitutionCharThe substitution character for code points that are not presentable in the local page
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.

Parameters:
theSourceStringThe source string
targetVectorThe target string
terminateIf true, the transcoded string will be null-terminated
const CharVectorType TranscodeToLocalCodePage ( const XalanDOMChar *  theSourceString)

Convert XalanDOMString to C++ standard library vector, transcoding to the default local code page.

Null-terminate the sttring...

Parameters:
theSourceStringsource string
Returns:
The transcoded string.
bool TranscodeToLocalCodePage ( const XalanDOMString theSourceString,
CharVectorType targetVector,
bool  terminate = false 
)

Convert XalanDOMString to C++ standard library vector, transcoding to the default local code page.

Parameters:
theSourceStringThe source string
targetVectorThe target string
Returns:
true if successful, false if not.

Interpreting class diagrams

Doxygen and GraphViz are used to generate this API documentation from the Xalan-C header files.

dot

Xalan-C++ XSLT Processor Version 1.10
Copyright © 1999-2004 The Apache Software Foundation. All Rights Reserved.

Apache Logo