InscoperAPI/API/Shared/XML/XMLDocument.h¶
Namespaces¶
| Name |
|---|
| Inscoper Inscoper namespace. |
Classes¶
| Name | |
|---|---|
| class | Inscoper::XMLDocument XMLDocument class represents an entire XML document. |
Source code¶
#ifndef XMLDOCUMENT_H
#define XMLDOCUMENT_H
#include <Shared/XML/XMLNode.h>
#include <string>
namespace Inscoper {
class INSCOPER_EXPORT XMLDocument {
public:
#ifndef SWIG
XMLDocument(XMLDocument const &node) = delete;
XMLDocument(XMLDocument &&node) = delete;
XMLDocument &operator=(XMLDocument const &node) = delete;
XMLDocument &operator=(XMLDocument &&node) = delete;
#endif
XMLDocument();
~XMLDocument();
void loadFile(const std::string &xmlFile) INSCOPER_EXCEPTION;
bool tryLoadingFile(const std::string &xmlFile);
void saveFile(const std::string &xmlFile) INSCOPER_EXCEPTION;
Inscoper::XMLNode getChild(const std::string &name);
Inscoper::XMLNode toXMLNode();
private:
class XMLDocumentImpl;
XMLDocumentImpl *pimpl;
};
} // namespace Inscoper
#endif // XMLDOCUMENT_H
Updated on 2026-09-03 at 12:14:17 +0200