CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
cscdqm::XercesStringTranscoder Class Reference

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

#include <CSCDQM_Utility.h>

Public Member Functions

const XMLCh * unicodeForm () const
 
 XercesStringTranscoder (const char *const toTranscode)
 
 ~XercesStringTranscoder ()
 

Private Attributes

XMLCh * fUnicodeForm
 

Detailed Description

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

Definition at line 105 of file CSCDQM_Utility.h.

Constructor & Destructor Documentation

cscdqm::XercesStringTranscoder::XercesStringTranscoder ( const char *const  toTranscode)
inline

Definition at line 109 of file CSCDQM_Utility.h.

References fUnicodeForm.

109  {
110  fUnicodeForm = XERCES_CPP_NAMESPACE::XMLString::transcode(toTranscode);
111  }
cscdqm::XercesStringTranscoder::~XercesStringTranscoder ( )
inline

Member Function Documentation

const XMLCh* cscdqm::XercesStringTranscoder::unicodeForm ( ) const
inline

Definition at line 117 of file CSCDQM_Utility.h.

References fUnicodeForm.

117  {
118  return fUnicodeForm;
119  }

Member Data Documentation

XMLCh* cscdqm::XercesStringTranscoder::fUnicodeForm
private

Definition at line 123 of file CSCDQM_Utility.h.

Referenced by unicodeForm(), XercesStringTranscoder(), and ~XercesStringTranscoder().