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

Constructor & Destructor Documentation

◆ XMLSimpleStr()

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

Definition at line 75 of file XMLUtils.h.

75 : string(XERCES_CPP_NAMESPACE_QUALIFIER XMLString::transcode(str)) {}

◆ ~XMLSimpleStr()

lhef::XMLSimpleStr::~XMLSimpleStr ( )
inline

Member Function Documentation

◆ isAllSpaces()

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

Definition at line 81 of file XMLUtils.h.

81  {
82  return XERCES_CPP_NAMESPACE_QUALIFIER XMLChar1_0::isAllSpaces(str, length);
83  }

References str, and XERCES_CPP_NAMESPACE_QUALIFIER.

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

◆ isSpace()

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

Definition at line 85 of file XMLUtils.h.

85 { return XERCES_CPP_NAMESPACE_QUALIFIER XMLChar1_0::isWhitespace(ch); }

References XERCES_CPP_NAMESPACE_QUALIFIER.

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

◆ operator const char *()

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

Definition at line 79 of file XMLUtils.h.

79 { return string; }

References string.

Member Data Documentation

◆ string

char* lhef::XMLSimpleStr::string
private

Definition at line 88 of file XMLUtils.h.

Referenced by operator const char *().

lhef::XMLSimpleStr::string
char * string
Definition: XMLUtils.h:88
XERCES_CPP_NAMESPACE_QUALIFIER
#define XERCES_CPP_NAMESPACE_QUALIFIER
Definition: LHERunInfo.h:16
str
#define str(s)
Definition: TestProcessor.cc:48
fetchall_from_DQM_v2.release
release
Definition: fetchall_from_DQM_v2.py:92