XStr Class Reference

Collaboration diagram for XStr:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 XStr (const char *const toTranscode)
 ~XStr ()
const XMLCh * UnicodeForm () const

Private Attributes

XMLCh * mUnicodeForm

Detailed Description

This is a simple class that lets us do easy (though not terribly efficient) trancoding of char* data to XMLCh data.

Taken from Xerces-C samples/CreateDOMDocument/CreateDOMDocument.cpp

Definition at line 2526 of file HeartConfig.cpp.


Constructor & Destructor Documentation

XStr::XStr ( const char *const   toTranscode  )  [inline]

Constructor.

Parameters:
toTranscode the C string to convert

Definition at line 2533 of file HeartConfig.cpp.

References mUnicodeForm.

XStr::~XStr (  )  [inline]

Destructor

Definition at line 2540 of file HeartConfig.cpp.

References mUnicodeForm.


Member Function Documentation

const XMLCh* XStr::UnicodeForm (  )  const [inline]

Get the converted string

Definition at line 2547 of file HeartConfig.cpp.

References mUnicodeForm.


Member Data Documentation

XMLCh* XStr::mUnicodeForm [private]

This is the Unicode XMLCh format of the string.

Definition at line 2554 of file HeartConfig.cpp.

Referenced by UnicodeForm(), XStr(), and ~XStr().


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

Generated by  doxygen 1.6.2