nidas  v1.2-1520
Public Member Functions | Private Member Functions | Private Attributes | List of all members
nidas::core::XMLStringConverter Class Reference

Class providing conversions between string and XMLCh* using the Xerces-c transcode and release methods. More...

#include <XMLStringConverter.h>

Public Member Functions

 XMLStringConverter (const XMLCh *val)
 
 XMLStringConverter (const char *val)
 
 XMLStringConverter (const std::string &val)
 
 ~XMLStringConverter ()
 
 operator const XMLCh * () const
 Conversion to const XMLCh*. More...
 
 operator std::string () const
 Conversion to string. More...
 

Private Member Functions

 XMLStringConverter (const XMLStringConverter &)
 No copying. More...
 
XMLStringConverteroperator= (const XMLStringConverter &)
 No assignment. More...
 

Private Attributes

std::string _str
 
const XMLCh * _cxstr
 
XMLCh * _xstr
 

Detailed Description

Class providing conversions between string and XMLCh* using the Xerces-c transcode and release methods.

Constructor & Destructor Documentation

nidas::core::XMLStringConverter::XMLStringConverter ( const XMLCh *  val)
inline

References _str.

nidas::core::XMLStringConverter::XMLStringConverter ( const char *  val)
inline

References _cxstr, and _xstr.

nidas::core::XMLStringConverter::XMLStringConverter ( const std::string &  val)
inline

References _cxstr, and _xstr.

nidas::core::XMLStringConverter::~XMLStringConverter ( )
inline

References _xstr.

nidas::core::XMLStringConverter::XMLStringConverter ( const XMLStringConverter )
private

No copying.

Member Function Documentation

nidas::core::XMLStringConverter::operator const XMLCh * ( ) const
inline

Conversion to const XMLCh*.

References _cxstr.

nidas::core::XMLStringConverter::operator std::string ( ) const
inline

Conversion to string.

References _str.

XMLStringConverter& nidas::core::XMLStringConverter::operator= ( const XMLStringConverter )
private

No assignment.

Member Data Documentation

const XMLCh* nidas::core::XMLStringConverter::_cxstr
private
std::string nidas::core::XMLStringConverter::_str
private
XMLCh* nidas::core::XMLStringConverter::_xstr
private

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