#include <DetectorDescription/Parser/src/StrX.h>
Public Types | |
typedef xercesc_2_7::XMLString | XMLString |
typedef xercesc_2_7::XMLString | XMLString |
Public Member Functions | |
const char * | localForm () const |
const char * | localForm () const |
StrX (const XMLCh *const toTranscode) | |
StrX (const std::string &toTranscode) | |
StrX (const char *const toTranscode) | |
StrX (const XMLCh *const toTranscode) | |
const XMLCh * | xmlChForm () const |
~StrX () | |
~StrX () | |
Private Attributes | |
char * | fLocalForm |
char * | fLocalForm |
XMLCh * | fXMLChForm |
DDDParser sub-component of DDD
This is taken from the Examples of Apache Xerces C++ and modified.
Definition at line 31 of file StrX.h.
typedef xercesc_2_7::XMLString StrX::XMLString |
typedef xercesc_2_7::XMLString StrX::XMLString |
StrX::StrX | ( | const XMLCh *const | toTranscode | ) | [inline] |
Definition at line 38 of file StrX.h.
References fLocalForm, fXMLChForm, and transcode().
00038 : fXMLChForm(toTranscode) 00039 { 00040 fLocalForm = XMLString::transcode(toTranscode); 00041 fXMLChForm = XMLString::transcode(fLocalForm); 00042 }
StrX::StrX | ( | const char *const | toTranscode | ) | [inline] |
Definition at line 44 of file StrX.h.
References fLocalForm, fXMLChForm, and transcode().
00045 { 00046 fXMLChForm = XMLString::transcode(toTranscode); 00047 fLocalForm = XMLString::transcode(fXMLChForm); 00048 }
StrX::StrX | ( | const std::string & | toTranscode | ) | [inline] |
Definition at line 50 of file StrX.h.
References fLocalForm, fXMLChForm, and transcode().
00051 { 00052 fXMLChForm = XMLString::transcode(toTranscode.c_str()); 00053 fLocalForm = XMLString::transcode(fXMLChForm); 00054 }
StrX::~StrX | ( | ) | [inline] |
Definition at line 56 of file StrX.h.
References fLocalForm, fXMLChForm, and release().
00057 { 00058 XMLString::release(&fLocalForm); 00059 XMLString::release(&fXMLChForm); 00060 }
StrX::StrX | ( | const XMLCh *const | toTranscode | ) | [inline] |
Definition at line 18 of file StrX.h.
References fLocalForm, and transcode().
00019 { 00020 // Call the private transcoding method 00021 fLocalForm = XMLString::transcode(toTranscode); 00022 }
StrX::~StrX | ( | ) | [inline] |
Definition at line 24 of file StrX.h.
References fLocalForm.
00025 { 00026 delete [] fLocalForm; 00027 }
const char* StrX::localForm | ( | ) | const [inline] |
Definition at line 32 of file StrX.h.
References fLocalForm.
00033 { 00034 return fLocalForm; 00035 }
const char* StrX::localForm | ( | ) | const [inline] |
Definition at line 65 of file StrX.h.
References fLocalForm.
Referenced by operator<<(), SaxToDom::startElement(), and SaxToDom2::startElement().
00066 { 00067 return fLocalForm; 00068 }
const XMLCh* StrX::xmlChForm | ( | ) | const [inline] |
Definition at line 70 of file StrX.h.
References fXMLChForm.
00071 { 00072 return fXMLChForm; 00073 }
char* StrX::fLocalForm [private] |
char* StrX::fLocalForm [private] |
XMLCh* StrX::fXMLChForm [private] |