#include <StrX.h>
Public Types | |
typedef XERCES_CPP_NAMESPACE::XMLString | XMLString |
typedef XERCES_CPP_NAMESPACE::XMLString | XMLString |
Public Member Functions | |
const char * | localForm () const |
const char * | localForm () const |
StrX (const XMLCh *const toTranscode) | |
StrX (const XMLCh *const toTranscode) | |
StrX (const char *const toTranscode) | |
StrX (const std::string &toTranscode) | |
const XMLCh * | xmlChForm () const |
~StrX () | |
~StrX () | |
Private Attributes | |
char * | fLocalForm |
XMLCh * | fXMLChForm |
DDDParser sub-component of DDD
This is taken from the Examples of Apache Xerces C++ and modified.
typedef XERCES_CPP_NAMESPACE::XMLString StrX::XMLString |
typedef XERCES_CPP_NAMESPACE::XMLString StrX::XMLString |
StrX::StrX | ( | const XMLCh *const | toTranscode | ) | [inline] |
Definition at line 39 of file StrX.h.
References fLocalForm, and fXMLChForm.
{ fLocalForm = XMLString::transcode(toTranscode); fXMLChForm = XMLString::transcode(fLocalForm); }
StrX::StrX | ( | const char *const | toTranscode | ) | [inline] |
Definition at line 45 of file StrX.h.
References fLocalForm, and fXMLChForm.
{ fXMLChForm = XMLString::transcode(toTranscode); fLocalForm = XMLString::transcode(fXMLChForm); }
StrX::StrX | ( | const std::string & | toTranscode | ) | [inline] |
Definition at line 51 of file StrX.h.
References fLocalForm, and fXMLChForm.
{ fXMLChForm = XMLString::transcode(toTranscode.c_str()); fLocalForm = XMLString::transcode(fXMLChForm); }
StrX::~StrX | ( | ) | [inline] |
Definition at line 57 of file StrX.h.
References fLocalForm, fXMLChForm, and cmsPerfSuiteHarvest::release.
StrX::StrX | ( | const XMLCh *const | toTranscode | ) | [inline] |
Definition at line 18 of file StrX.h.
References fLocalForm.
{ // Call the private transcoding method fLocalForm = XMLString::transcode(toTranscode); }
StrX::~StrX | ( | ) | [inline] |
const char* StrX::localForm | ( | ) | const [inline] |
Definition at line 66 of file StrX.h.
References fLocalForm.
Referenced by operator<<(), SaxToDom::startElement(), SaxToDom2::startElement(), and DDLSAX2ExpressionHandler::startElement().
{ return fLocalForm; }
const char* StrX::localForm | ( | ) | const [inline] |
const XMLCh* StrX::xmlChForm | ( | ) | const [inline] |
char * StrX::fLocalForm [private] |
Definition at line 78 of file StrX.h.
Referenced by localForm(), StrX(), and ~StrX().
XMLCh* StrX::fXMLChForm [private] |
Definition at line 77 of file StrX.h.
Referenced by StrX(), xmlChForm(), and ~StrX().