File indexing completed on 2025-01-30 10:26:04
0001
0002
0003
0004
0005
0006
0007 #pragma once
0008
0009 #ifndef VGDMLBackend_h
0010 #define VGDMLBackend_h
0011
0012 #include <string>
0013
0014 #include "xercesc/util/XercesDefs.hpp"
0015
0016 XERCES_CPP_NAMESPACE_BEGIN
0017 class DOMDocument;
0018 class XercesDOMParser;
0019 XERCES_CPP_NAMESPACE_END
0020
0021 namespace vgdml {
0022 class Backend {
0023 xercesc::XercesDOMParser *fDOMParser;
0024
0025 public:
0026 Backend(bool validate);
0027 XERCES_CPP_NAMESPACE_QUALIFIER DOMDocument *Load(std::string const &aFilename);
0028 void Save(XERCES_CPP_NAMESPACE_QUALIFIER DOMDocument const *aDOMDoc, std::string const &aFilename);
0029 };
0030 }
0031 #endif