Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.11


Classes | Typedefs | Functions | Variables

XalanDOMString.hpp File Reference

#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>
Include dependency graph for XalanDOMString.hpp:

Go to the source code of this file.

Classes

Typedefs

Functions

Variables


Typedef Documentation

typedef XalanVector<char> CharVectorType

Definition at line 1150 of file XalanDOMString.hpp.

typedef XalanVector<XalanDOMChar> XalanDOMCharVectorType

Definition at line 1148 of file XalanDOMString.hpp.


Function Documentation

bool operator!= ( const XalanDOMString theLHS,
const XalanDOMString theRHS 
) [inline]

Definition at line 1049 of file XalanDOMString.hpp.

bool operator!= ( const XalanDOMChar *  theLHS,
const XalanDOMString theRHS 
) [inline]

Definition at line 1059 of file XalanDOMString.hpp.

bool operator!= ( const XalanDOMString theLHS,
const XalanDOMChar *  theRHS 
) [inline]

Definition at line 1069 of file XalanDOMString.hpp.

bool operator== ( const XalanDOMString theLHS,
const XalanDOMChar *  theRHS 
) [inline]

Definition at line 1028 of file XalanDOMString.hpp.

bool operator== ( const XalanDOMString theLHS,
const XalanDOMString theRHS 
) [inline]

Definition at line 1018 of file XalanDOMString.hpp.

bool operator== ( const XalanDOMChar *  theLHS,
const XalanDOMString theRHS 
) [inline]

Definition at line 1038 of file XalanDOMString.hpp.

const XalanDOMString TranscodeFromLocalCodePage ( const char *  theSourceString,
XalanDOMString::size_type  theSourceStringLength = XalanDOMString::npos 
) [inline]

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

Parameters:
theSourceString The source string
theSourceStringLength The source string length.
Returns:
The new string.

Definition at line 1205 of file XalanDOMString.hpp.

const XalanDOMString& TranscodeFromLocalCodePage ( const char *  theSourceString,
XalanDOMString theResult,
XalanDOMString::size_type  theSourceStringLength = XalanDOMString::npos 
) [inline]

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

Parameters:
theSourceString The source string
theResult The result.
theSourceStringLength The source string length.
Returns:
The new string.

Definition at line 1339 of file XalanDOMString.hpp.

bool TranscodeToLocalCodePage ( const XalanDOMString theSourceString,
CharVectorType theTargetVector,
bool  terminate = false 
) [inline]

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

Parameters:
theSourceString The source string
theTargetVector The target string
Returns:
true if successful, false if not.

Definition at line 1277 of file XalanDOMString.hpp.

const CharVectorType TranscodeToLocalCodePage ( const XalanDOMString theSourceString  )  [inline]

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

Parameters:
thetheSourceString source string
Returns:
The transcoded string.

Definition at line 1318 of file XalanDOMString.hpp.

const CharVectorType TranscodeToLocalCodePage ( const XalanDOMChar *  theSourceString  )  [inline]

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

Null-terminate the sttring...

Parameters:
theSourceString source string
Returns:
The transcoded string.

Definition at line 1256 of file XalanDOMString.hpp.

XALAN_PLATFORM_IMPORT_FUNCTION ( const XalanDOMString  )  const

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

Parameters:
theSourceString The source vector.
theResult The result.
Returns:
The transcoded string.
XALAN_PLATFORM_IMPORT_FUNCTION ( bool   )  const

Convert a XalanDOMChar string to C++ standard library vector, transcoding to the default local code page.

Convert a string to a C++ standard library vector, transcoding from the default local code page.

Parameters:
sourceString The source string
sourceStringLength The source string length.
targetVector The target string
terminate If true, the transcoded string will be null-terminated
Returns:
true if successful, false if not.

The string _must_ be null-terminated.

Parameters:
theSourceString The source string
targetVector The target string
terminate If true, the transcoded string will be null-terminated
Returns:
true if successful, false if not.
Parameters:
theSourceString The source string
theSourceStringLength The source string length.
targetVector The target string
terminate If true, the transcoded string will be null-terminated
Returns:
true if successful, false if not.

The string _must_ be null-terminated.

Parameters:
sourceString The source string
targetVector The target string
terminate If true, the transcoded string will be null-terminated
Returns:
true if successful, false if not.
Parameters:
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
Returns:
true if successful, false if not.
XALAN_PLATFORM_IMPORT_FUNCTION ( void   )  const

Convert a XalanDOMChar string to C++ standard library vector, transcoding to the default local code page.

Convert XalanDOMString 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:
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

The string _must_ be null-terminated.

Parameters:
theSourceString The source string
targetVector The target string
terminate If true, the transcoded string will be null-terminated
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

Variable Documentation

Definition at line 1170 of file XalanDOMString.hpp.

Definition at line 1172 of file XalanDOMString.hpp.

Definition at line 1416 of file XalanDOMString.hpp.

Definition at line 1400 of file XalanDOMString.hpp.

Definition at line 1170 of file XalanDOMString.hpp.

Definition at line 1190 of file XalanDOMString.hpp.

Definition at line 1302 of file XalanDOMString.hpp.

Interpreting class diagrams

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

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

Apache Logo