CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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

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)
lhef::XMLSimpleStr::~XMLSimpleStr ( )
inline

Definition at line 80 of file XMLUtils.h.

References fetchall_from_DQM_v2::release, and XERCES_CPP_NAMESPACE_QUALIFIER.

Member Function Documentation

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

Definition at line 84 of file XMLUtils.h.

References 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)
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
lhef::XMLSimpleStr::operator const char * ( ) const
inline

Definition at line 82 of file XMLUtils.h.

References string.

82 { return string; }

Member Data Documentation

char* lhef::XMLSimpleStr::string
private

Definition at line 91 of file XMLUtils.h.

Referenced by operator const char *().