ALBA
Public Member Functions | Protected Attributes | List of all members
albaXMLString Class Reference

#include <albaXMLString.h>

Public Member Functions

 albaXMLString ()
 
 albaXMLString (const char *str)
 
 albaXMLString (XMLCh *wstr)
 
 albaXMLString (const XMLCh *wstr)
 
 albaXMLString (const albaXMLString &copy)
 
 albaXMLString (wxString str)
 
 ~albaXMLString ()
 
bool Append (const XMLCh *tail)
 
bool Erase (const XMLCh *head, const XMLCh *tail)
 
const XMLCh * Begin () const
 
const XMLCh * End () const
 
int Size () const
 
const char * GetCStr ()
 
XMLCh & operator[] (const int i)
 
const XMLCh operator[] (const int i) const
 
 operator const XMLCh * () const
 
 operator const char * ()
 

Protected Attributes

XMLCh * m_WStr
 
char * m_CStr
 

Detailed Description

string type for converting const char * to and from XMLString types This is an internal string type to be used only in conjunction with XercecC XML library.

This object is able to convert const char* to and from XMLStrings. This code has been adapted from example code "class XercesString" found in articles "Make the most of Xerces-C++" by Rick Parrish (rfmob.nosp@m.ile@.nosp@m.swbel.nosp@m.l.ne.nosp@m.t) that can be found at "www.ibm.com/developerworks/xml".

Definition at line 38 of file albaXMLString.h.

Constructor & Destructor Documentation

◆ albaXMLString() [1/6]

albaXMLString::albaXMLString ( )
inline

Definition at line 41 of file albaXMLString.h.

◆ albaXMLString() [2/6]

albaXMLString::albaXMLString ( const char *  str)

◆ albaXMLString() [3/6]

albaXMLString::albaXMLString ( XMLCh *  wstr)

◆ albaXMLString() [4/6]

albaXMLString::albaXMLString ( const XMLCh *  wstr)

◆ albaXMLString() [5/6]

albaXMLString::albaXMLString ( const albaXMLString copy)

◆ albaXMLString() [6/6]

albaXMLString::albaXMLString ( wxString  str)

◆ ~albaXMLString()

albaXMLString::~albaXMLString ( )

Member Function Documentation

◆ Append()

bool albaXMLString::Append ( const XMLCh *  tail)

◆ Erase()

bool albaXMLString::Erase ( const XMLCh *  head,
const XMLCh *  tail 
)

◆ Begin()

const XMLCh * albaXMLString::Begin ( ) const

◆ End()

const XMLCh * albaXMLString::End ( ) const

◆ Size()

int albaXMLString::Size ( ) const

◆ GetCStr()

const char * albaXMLString::GetCStr ( )

◆ operator[]() [1/2]

XMLCh & albaXMLString::operator[] ( const int  i)

◆ operator[]() [2/2]

const XMLCh albaXMLString::operator[] ( const int  i) const

◆ operator const XMLCh *()

albaXMLString::operator const XMLCh * ( ) const
inline

Definition at line 57 of file albaXMLString.h.

◆ operator const char *()

albaXMLString::operator const char * ( )
inline

Definition at line 58 of file albaXMLString.h.

Member Data Documentation

◆ m_WStr

XMLCh* albaXMLString::m_WStr
protected

Definition at line 60 of file albaXMLString.h.

◆ m_CStr

char* albaXMLString::m_CStr
protected

Definition at line 61 of file albaXMLString.h.


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