CMS 3D CMS Logo

List of all members | Public Member Functions | Static Public Member Functions | Private Attributes
lhef::XMLSimpleStr Class Reference

#include <XMLUtils.h>

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 76 of file XMLUtils.h.

Constructor & Destructor Documentation

◆ XMLSimpleStr()

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

Definition at line 78 of file XMLUtils.h.

78 : string(XERCES_CPP_NAMESPACE_QUALIFIER XMLString::transcode(str)) {}
#define XERCES_CPP_NAMESPACE_QUALIFIER
Definition: LHERunInfo.h:16
#define str(s)

◆ ~XMLSimpleStr()

lhef::XMLSimpleStr::~XMLSimpleStr ( )
inline

Member Function Documentation

◆ isAllSpaces()

static bool lhef::XMLSimpleStr::isAllSpaces ( const XMLCh *  str,
unsigned int  length 
)
inlinestatic

Definition at line 84 of file XMLUtils.h.

References str, and XERCES_CPP_NAMESPACE_QUALIFIER.

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

84  {
85  return XERCES_CPP_NAMESPACE_QUALIFIER XMLChar1_0::isAllSpaces(str, length);
86  }
#define XERCES_CPP_NAMESPACE_QUALIFIER
Definition: LHERunInfo.h:16
#define str(s)

◆ isSpace()

static bool lhef::XMLSimpleStr::isSpace ( XMLCh  ch)
inlinestatic

Definition at line 88 of file XMLUtils.h.

References XERCES_CPP_NAMESPACE_QUALIFIER.

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

88 { return XERCES_CPP_NAMESPACE_QUALIFIER XMLChar1_0::isWhitespace(ch); }
#define XERCES_CPP_NAMESPACE_QUALIFIER
Definition: LHERunInfo.h:16

◆ operator const char *()

lhef::XMLSimpleStr::operator const char * ( ) const
inline

Definition at line 82 of file XMLUtils.h.

References string.

82 { return string; }

Member Data Documentation

◆ string

char* lhef::XMLSimpleStr::string
private

Definition at line 91 of file XMLUtils.h.

Referenced by operator const char *().