Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.10

Classes | Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
XalanDOMString Class Reference

Classes

class  TranscodingError

Public Types

enum  { npos = -1 }
typedef XalanVector< XalanDOMChar > XalanDOMCharVectorType
typedef XalanVector< char > CharVectorType
typedef XalanVector< wchar_t > WideCharVectorType
typedef XalanDOMChar value_type
typedef XalanDOMChar & reference
typedef const XalanDOMChar & const_reference
typedef unsigned int size_type
typedef
XalanDOMCharVectorType::iterator 
iterator
typedef
XalanDOMCharVectorType::const_iterator 
const_iterator
typedef
XalanDOMCharVectorType::reverse_iterator 
reverse_iterator
typedef
XalanDOMCharVectorType::const_reverse_iterator 
const_reverse_iterator

Public Member Functions

 XalanDOMString (MemoryManagerType &theManager XALAN_DEFAULT_CONSTRACTOR_MEMORY_MGR)
 XalanDOMString (const char *theString, MemoryManagerType &theManager XALAN_DEFAULT_MEMMGR, size_type theCount=size_type(npos))
 XalanDOMString (const XalanDOMString &theSource, MemoryManagerType &theManager XALAN_DEFAULT_CONSTRACTOR_MEMORY_MGR, size_type theStartPosition=0, size_type theCount=size_type(npos))
 XalanDOMString (const XalanDOMChar *theString, MemoryManagerType &theManager XALAN_DEFAULT_MEMMGR, size_type theCount=size_type(npos))
 XalanDOMString (size_type theCount, XalanDOMChar theChar, MemoryManagerType &theManager XALAN_DEFAULT_MEMMGR)
XalanDOMStringclone (MemoryManagerType &theManager)
 ~XalanDOMString ()
XalanDOMStringoperator= (const XalanDOMString &theRHS)
XalanDOMStringoperator= (const XalanDOMChar *theRHS)
XalanDOMStringoperator= (const char *theRHS)
XalanDOMStringoperator= (XalanDOMChar theRHS)
iterator begin ()
const_iterator begin () const
iterator end ()
const_iterator end () const
reverse_iterator rbegin ()
const_reverse_iterator rbegin () const
reverse_iterator rend ()
const_reverse_iterator rend () const
size_type size () const
size_type length () const
size_type max_size () const
void resize (size_type theCount, XalanDOMChar theChar)
void resize (size_type theCount)
size_type capacity () const
void reserve (size_type theCount=0)
void clear ()
void erase (size_type theStartPosition=0, size_type theCount=size_type(npos))
bool empty () const
const_reference operator[] (size_type theIndex) const
reference operator[] (size_type theIndex)
const_reference at (size_type theIndex) const
reference at (size_type theIndex)
const XalanDOMChar * c_str () const
const XalanDOMChar * data () const
void swap (XalanDOMString &theOther)
XalanDOMStringoperator+= (const XalanDOMString &theSource)
XalanDOMStringoperator+= (const XalanDOMChar *theString)
XalanDOMStringoperator+= (XalanDOMChar theChar)
XalanDOMStringassign (const XalanDOMChar *theSource)
XalanDOMStringassign (const XalanDOMChar *theSource, size_type theCount)
XalanDOMStringassign (const char *theSource)
XalanDOMStringassign (const char *theSource, size_type theCount)
XalanDOMStringassign (const XalanDOMString &theSource, size_type thePosition, size_type theCount)
XalanDOMStringassign (const XalanDOMString &theSource)
XalanDOMStringassign (size_type theCount, XalanDOMChar theChar)
XalanDOMStringassign (iterator theFirstPosition, iterator theLastPosition)
XalanDOMStringappend (const XalanDOMString &theSource)
XalanDOMStringappend (const XalanDOMString &theSource, size_type thePosition, size_type theCount)
XalanDOMStringappend (const XalanDOMChar *theString, size_type theCount)
XalanDOMStringappend (const XalanDOMChar *theString)
XalanDOMStringappend (const char *theString, size_type theCount)
XalanDOMStringappend (const char *theString)
XalanDOMStringappend (size_type theCount, XalanDOMChar theChar)
void push_back (XalanDOMChar theChar)
XalanDOMStringinsert (size_type thePosition, const XalanDOMString &theString)
XalanDOMStringinsert (size_type thePosition1, const XalanDOMString &theString, size_type thePosition2, size_type theCount)
XalanDOMStringinsert (size_type thePosition, const XalanDOMChar *theString, size_type theCount)
XalanDOMStringinsert (size_type thePosition, const XalanDOMChar *theString)
XalanDOMStringinsert (size_type thePosition, size_type theCount, XalanDOMChar theChar)
iterator insert (iterator thePosition, XalanDOMChar theChar)
void insert (iterator thePosition, size_type theCount, XalanDOMChar theChar)
void insert (iterator theInsertPosition, iterator theFirstPosition, iterator theLastPosition)
XalanDOMStringsubstr (XalanDOMString &theSubstring, size_type thePosition=0, size_type theCount=size_type(npos)) const
int compare (const XalanDOMString &theString) const
int compare (size_type thePosition1, size_type theCount1, const XalanDOMString &theString) const
int compare (size_type thePosition1, size_type theCount1, const XalanDOMString &theString, size_type thePosition2, size_type theCount2) const
int compare (const XalanDOMChar *theString) const
int compare (size_type thePosition1, size_type theCount1, const XalanDOMChar *theString, size_type theCount2=size_type(npos)) const
void reset (MemoryManagerType &theManager, const char *theString)
void reset (MemoryManagerType &theManager, const XalanDOMChar *theString)
void transcode (CharVectorType &theResult) const
 Transcode the string to the local code page.
MemoryManagerTypegetMemoryManager ()
size_type hash () const

Static Public Member Functions

static bool equals (const XalanDOMChar *theLHS, size_type theLHSLength, const XalanDOMChar *theRHS, size_type theRHSLength)
static bool equals (const XalanDOMChar *theLHS, const XalanDOMChar *theRHS)
static bool equals (const XalanDOMString &theLHS, const XalanDOMString &theRHS)
static bool equals (const XalanDOMString &theLHS, const XalanDOMChar *theRHS)
static bool equals (const XalanDOMChar *theLHS, const XalanDOMString &theRHS)
static size_type length (const XalanDOMChar *theString)
static size_type length (const char *theString)
static size_type hash (const XalanDOMChar *theString, size_type theLength)

Protected Member Functions

void invariants () const
iterator getBackInsertIterator ()
const_iterator getBackInsertIterator () const
iterator getIteratorForPosition (size_type thePosition)
const_iterator getIteratorForPosition (size_type thePosition) const

Member Typedef Documentation

typedef const XalanDOMChar& XalanDOMString::const_reference
typedef XalanDOMChar& XalanDOMString::reference
typedef unsigned int XalanDOMString::size_type
typedef XalanDOMChar XalanDOMString::value_type

Member Enumeration Documentation

anonymous enum
Enumerator:
npos 

Constructor & Destructor Documentation

XalanDOMString::XalanDOMString ( MemoryManagerType &theManager  XALAN_DEFAULT_CONSTRACTOR_MEMORY_MGR)
XalanDOMString::XalanDOMString ( const char *  theString,
MemoryManagerType &theManager  XALAN_DEFAULT_MEMMGR,
size_type  theCount = size_type(npos) 
)
explicit
XalanDOMString::XalanDOMString ( const XalanDOMString theSource,
MemoryManagerType &theManager  XALAN_DEFAULT_CONSTRACTOR_MEMORY_MGR,
size_type  theStartPosition = 0,
size_type  theCount = size_type(npos) 
)
XalanDOMString::XalanDOMString ( const XalanDOMChar *  theString,
MemoryManagerType &theManager  XALAN_DEFAULT_MEMMGR,
size_type  theCount = size_type(npos) 
)
explicit
XalanDOMString::XalanDOMString ( size_type  theCount,
XalanDOMChar  theChar,
MemoryManagerType &theManager  XALAN_DEFAULT_MEMMGR 
)
XalanDOMString::~XalanDOMString ( )

Member Function Documentation

XalanDOMString& XalanDOMString::append ( const XalanDOMString theSource)
XalanDOMString& XalanDOMString::append ( const XalanDOMString theSource,
size_type  thePosition,
size_type  theCount 
)
XalanDOMString& XalanDOMString::append ( const XalanDOMChar *  theString,
size_type  theCount 
)
XalanDOMString& XalanDOMString::append ( const XalanDOMChar *  theString)
XalanDOMString& XalanDOMString::append ( const char *  theString,
size_type  theCount 
)
XalanDOMString& XalanDOMString::append ( const char *  theString)
XalanDOMString& XalanDOMString::append ( size_type  theCount,
XalanDOMChar  theChar 
)
XalanDOMString& XalanDOMString::assign ( const XalanDOMChar *  theSource)
XalanDOMString& XalanDOMString::assign ( const XalanDOMChar *  theSource,
size_type  theCount 
)
XalanDOMString& XalanDOMString::assign ( const char *  theSource)
XalanDOMString& XalanDOMString::assign ( const char *  theSource,
size_type  theCount 
)
XalanDOMString& XalanDOMString::assign ( const XalanDOMString theSource,
size_type  thePosition,
size_type  theCount 
)
XalanDOMString& XalanDOMString::assign ( const XalanDOMString theSource)
XalanDOMString& XalanDOMString::assign ( size_type  theCount,
XalanDOMChar  theChar 
)
XalanDOMString& XalanDOMString::assign ( iterator  theFirstPosition,
iterator  theLastPosition 
)
const_reference XalanDOMString::at ( size_type  theIndex) const
reference XalanDOMString::at ( size_type  theIndex)
iterator XalanDOMString::begin ( )
const_iterator XalanDOMString::begin ( ) const
const XalanDOMChar* XalanDOMString::c_str ( ) const
size_type XalanDOMString::capacity ( ) const
void XalanDOMString::clear ( )
XalanDOMString* XalanDOMString::clone ( MemoryManagerType theManager)
int XalanDOMString::compare ( const XalanDOMString theString) const
int XalanDOMString::compare ( size_type  thePosition1,
size_type  theCount1,
const XalanDOMString theString 
) const
int XalanDOMString::compare ( size_type  thePosition1,
size_type  theCount1,
const XalanDOMString theString,
size_type  thePosition2,
size_type  theCount2 
) const
int XalanDOMString::compare ( const XalanDOMChar *  theString) const
int XalanDOMString::compare ( size_type  thePosition1,
size_type  theCount1,
const XalanDOMChar *  theString,
size_type  theCount2 = size_type(npos) 
) const
const XalanDOMChar* XalanDOMString::data ( ) const
bool XalanDOMString::empty ( ) const
iterator XalanDOMString::end ( )
const_iterator XalanDOMString::end ( ) const
static bool XalanDOMString::equals ( const XalanDOMChar *  theLHS,
size_type  theLHSLength,
const XalanDOMChar *  theRHS,
size_type  theRHSLength 
)
static
static bool XalanDOMString::equals ( const XalanDOMChar *  theLHS,
const XalanDOMChar *  theRHS 
)
static
static bool XalanDOMString::equals ( const XalanDOMString theLHS,
const XalanDOMString theRHS 
)
static
static bool XalanDOMString::equals ( const XalanDOMString theLHS,
const XalanDOMChar *  theRHS 
)
static
static bool XalanDOMString::equals ( const XalanDOMChar *  theLHS,
const XalanDOMString theRHS 
)
static
void XalanDOMString::erase ( size_type  theStartPosition = 0,
size_type  theCount = size_type(npos) 
)
iterator XalanDOMString::getBackInsertIterator ( )
protected
const_iterator XalanDOMString::getBackInsertIterator ( ) const
protected
iterator XalanDOMString::getIteratorForPosition ( size_type  thePosition)
protected
const_iterator XalanDOMString::getIteratorForPosition ( size_type  thePosition) const
protected
MemoryManagerType& XalanDOMString::getMemoryManager ( )
size_type XalanDOMString::hash ( ) const
static size_type XalanDOMString::hash ( const XalanDOMChar *  theString,
size_type  theLength 
)
static
XalanDOMString& XalanDOMString::insert ( size_type  thePosition,
const XalanDOMString theString 
)
XalanDOMString& XalanDOMString::insert ( size_type  thePosition1,
const XalanDOMString theString,
size_type  thePosition2,
size_type  theCount 
)
XalanDOMString& XalanDOMString::insert ( size_type  thePosition,
const XalanDOMChar *  theString,
size_type  theCount 
)
XalanDOMString& XalanDOMString::insert ( size_type  thePosition,
const XalanDOMChar *  theString 
)
XalanDOMString& XalanDOMString::insert ( size_type  thePosition,
size_type  theCount,
XalanDOMChar  theChar 
)
iterator XalanDOMString::insert ( iterator  thePosition,
XalanDOMChar  theChar 
)
void XalanDOMString::insert ( iterator  thePosition,
size_type  theCount,
XalanDOMChar  theChar 
)
void XalanDOMString::insert ( iterator  theInsertPosition,
iterator  theFirstPosition,
iterator  theLastPosition 
)
void XalanDOMString::invariants ( ) const
protected
size_type XalanDOMString::length ( ) const
static size_type XalanDOMString::length ( const XalanDOMChar *  theString)
static
static size_type XalanDOMString::length ( const char *  theString)
static
size_type XalanDOMString::max_size ( ) const
XalanDOMString& XalanDOMString::operator+= ( const XalanDOMString theSource)
XalanDOMString& XalanDOMString::operator+= ( const XalanDOMChar *  theString)
XalanDOMString& XalanDOMString::operator+= ( XalanDOMChar  theChar)
XalanDOMString& XalanDOMString::operator= ( const XalanDOMString theRHS)
XalanDOMString& XalanDOMString::operator= ( const XalanDOMChar *  theRHS)
XalanDOMString& XalanDOMString::operator= ( const char *  theRHS)
XalanDOMString& XalanDOMString::operator= ( XalanDOMChar  theRHS)
const_reference XalanDOMString::operator[] ( size_type  theIndex) const
reference XalanDOMString::operator[] ( size_type  theIndex)
void XalanDOMString::push_back ( XalanDOMChar  theChar)
reverse_iterator XalanDOMString::rbegin ( )
const_reverse_iterator XalanDOMString::rbegin ( ) const
reverse_iterator XalanDOMString::rend ( )
const_reverse_iterator XalanDOMString::rend ( ) const
void XalanDOMString::reserve ( size_type  theCount = 0)
void XalanDOMString::reset ( MemoryManagerType theManager,
const char *  theString 
)
void XalanDOMString::reset ( MemoryManagerType theManager,
const XalanDOMChar *  theString 
)
void XalanDOMString::resize ( size_type  theCount,
XalanDOMChar  theChar 
)
void XalanDOMString::resize ( size_type  theCount)
size_type XalanDOMString::size ( ) const
XalanDOMString& XalanDOMString::substr ( XalanDOMString theSubstring,
size_type  thePosition = 0,
size_type  theCount = size_type(npos) 
) const
void XalanDOMString::swap ( XalanDOMString theOther)
void XalanDOMString::transcode ( CharVectorType theResult) const

Transcode the string to the local code page.

If the string cannot be properly transcoded, and the transcoder can detect the error a TranscodingError exception is thrown.

Parameters
theResultA CharVectorType instance for the transcoded string. The string is null-terminated.

The documentation for this class was generated from the following file:

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