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> 63 std::auto_ptr<XERCES_CPP_NAMESPACE_QUALIFIER InputSource>
source;
64 std::auto_ptr<XERCES_CPP_NAMESPACE_QUALIFIER SAX2XMLReader>
parser;
80 inline operator const char *()
const 85 XMLChar1_0::isAllSpaces(str, length); }
89 XMLChar1_0::isWhitespace(ch); }
104 operator const XMLCh *()
const 121 {
return new T(*
obj); }
124 std::auto_ptr<Stream_t>
obj;
140 virtual XMLFilePos
curPos()
const override {
return pos; }
142 virtual XMLSize_t readBytes(XMLByte *
const buf,
143 const XMLSize_t
size)
override;
160 virtual XMLFilePos
curPos()
const override {
return pos; }
162 virtual XMLSize_t readBytes(XMLByte *
const buf,
163 const XMLSize_t
size)
override;
180 virtual XMLFilePos
curPos()
const override {
return pos; }
182 virtual XMLSize_t readBytes(XMLByte *
const buf,
183 const XMLSize_t
size)
override;
194 unsigned int buffLoc_ = 0,buffTotal_ = 0;
205 #endif // GeneratorInterface_LHEInterface_XMLUtils_h
std::auto_ptr< XERCES_CPP_NAMESPACE_QUALIFIER SAX2XMLReader > parser
XMLInputSourceWrapper< StorageInputStream > StorageInputSource
XMLInputSourceWrapper< STLInputStream > STLInputSource
StorageWrap(std::unique_ptr< Storage > storage)
std::auto_ptr< XERCES_CPP_NAMESPACE_QUALIFIER InputSource > source
XMLInputSourceWrapper< CBInputStream > CBInputSource
std::auto_ptr< XercesPlatform > platform
static bool isSpace(XMLCh ch)
#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)
char data[epos_bytes_allocation]
std::unique_ptr< Storage > storage