1 #ifndef GeneratorInterface_LHEInterface_XMLUtils_h 2 #define GeneratorInterface_LHEInterface_XMLUtils_h 9 #include <xercesc/util/XMLString.hpp> 10 #include <xercesc/util/XMLUni.hpp> 11 #include <xercesc/util/XMLChar.hpp> 12 #include <xercesc/util/BinInputStream.hpp> 13 #include <xercesc/framework/XMLPScanToken.hpp> 14 #include <xercesc/sax/InputSource.hpp> 15 #include <xercesc/sax2/DefaultHandler.hpp> 16 #include <xercesc/sax2/SAX2XMLReader.hpp> 64 std::auto_ptr<XERCES_CPP_NAMESPACE_QUALIFIER InputSource>
source;
65 std::auto_ptr<XERCES_CPP_NAMESPACE_QUALIFIER SAX2XMLReader>
parser;
81 inline operator const char *()
const 86 XMLChar1_0::isAllSpaces(str, length); }
90 XMLChar1_0::isWhitespace(ch); }
105 operator const XMLCh *()
const 122 {
return new T(*
obj); }
125 std::auto_ptr<Stream_t>
obj;
141 virtual XMLFilePos
curPos()
const override {
return pos; }
143 virtual XMLSize_t readBytes(XMLByte *
const buf,
144 const XMLSize_t
size)
override;
161 virtual XMLFilePos
curPos()
const override {
return pos; }
163 virtual XMLSize_t readBytes(XMLByte *
const buf,
164 const XMLSize_t
size)
override;
181 virtual XMLFilePos
curPos()
const override {
return pos; }
183 virtual XMLSize_t readBytes(XMLByte *
const buf,
184 const XMLSize_t
size)
override;
195 unsigned int buffLoc_ = 0,buffTotal_ = 0;
206 #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