CMS 3D CMS Logo

Public Member Functions | Static Public Member Functions | Private Attributes

lhef::XMLSimpleStr Class Reference

#include <XMLUtils.h>

List of all members.

Public Member Functions

 operator const char * () const
 XMLSimpleStr (const XMLCh *str)
 ~XMLSimpleStr ()

Static Public Member Functions

static bool isAllSpaces (const XMLCh *str, unsigned int length)
static bool isSpace (XMLCh ch)

Private Attributes

char * string

Detailed Description

Definition at line 69 of file XMLUtils.h.


Constructor & Destructor Documentation

lhef::XMLSimpleStr::XMLSimpleStr ( const XMLCh *  str) [inline]

Definition at line 71 of file XMLUtils.h.

                                       :
                string(XERCES_CPP_NAMESPACE_QUALIFIER XMLString::transcode(str))
        {}
lhef::XMLSimpleStr::~XMLSimpleStr ( ) [inline]

Member Function Documentation

static bool lhef::XMLSimpleStr::isAllSpaces ( const XMLCh *  str,
unsigned int  length 
) [inline, static]
static bool lhef::XMLSimpleStr::isSpace ( XMLCh  ch) [inline, static]

Definition at line 85 of file XMLUtils.h.

References XERCES_CPP_NAMESPACE_QUALIFIER.

Referenced by lhef::LHEReader::XMLHandler::characters().

        { return XERCES_CPP_NAMESPACE_QUALIFIER
                                XMLChar1_0::isWhitespace(ch); }
lhef::XMLSimpleStr::operator const char * ( ) const [inline]

Definition at line 78 of file XMLUtils.h.

References string.

        { return string; }

Member Data Documentation

char* lhef::XMLSimpleStr::string [private]

Definition at line 90 of file XMLUtils.h.

Referenced by operator const char *().