1 #ifndef GeneratorInterface_LHEInterface_XMLUtils_h
2 #define GeneratorInterface_LHEInterface_XMLUtils_h
8 #include <xercesc/util/XMLString.hpp>
9 #include <xercesc/util/XMLUni.hpp>
10 #include <xercesc/util/XMLChar.hpp>
11 #include <xercesc/util/BinInputStream.hpp>
12 #include <xercesc/framework/XMLPScanToken.hpp>
13 #include <xercesc/sax/InputSource.hpp>
14 #include <xercesc/sax2/DefaultHandler.hpp>
15 #include <xercesc/sax2/SAX2XMLReader.hpp>
62 std::auto_ptr<XERCES_CPP_NAMESPACE_QUALIFIER InputSource>
source;
63 std::auto_ptr<XERCES_CPP_NAMESPACE_QUALIFIER SAX2XMLReader>
parser;
79 inline operator const char *()
const
82 inline static bool isAllSpaces(
const XMLCh *str,
unsigned int length)
84 XMLChar1_0::isAllSpaces(str, length); }
88 XMLChar1_0::isWhitespace(ch); }
103 operator const XMLCh *()
const
120 {
return new T(*
obj); }
123 std::auto_ptr<Stream_t>
obj;
141 virtual unsigned int readBytes(XMLByte *
const buf,
142 const unsigned int size);
159 virtual unsigned int readBytes(XMLByte *
const buf,
160 const unsigned int size);
177 virtual unsigned int readBytes(XMLByte *
const buf,
178 const unsigned int size);
194 #endif // GeneratorInterface_LHEInterface_XMLUtils_h
std::auto_ptr< Storage > storage
std::auto_ptr< XERCES_CPP_NAMESPACE_QUALIFIER SAX2XMLReader > parser
XMLInputSourceWrapper< StorageInputStream > StorageInputSource
XMLInputSourceWrapper< STLInputStream > STLInputSource
void init(Handler &handler)
std::auto_ptr< XERCES_CPP_NAMESPACE_QUALIFIER InputSource > source
XMLInputSourceWrapper< CBInputStream > CBInputSource
std::auto_ptr< XercesPlatform > platform
static bool isSpace(XMLCh ch)
XMLDocument(std::auto_ptr< std::istream > &in, Handler &handler)
#define XERCES_CPP_NAMESPACE_QUALIFIER
XERCES_CPP_NAMESPACE_QUALIFIER XMLPScanToken token
static bool isAllSpaces(const XMLCh *str, unsigned int length)
XMLSimpleStr(const XMLCh *str)
XMLUniStr(const char *str)
StorageWrap(Storage *storage)
tuple size
Write out results.