|
FERS 1.0.0
The Flexible Extensible Radar Simulator
|
Wrapper for managing XML documents and elements using libxml2. More...
#include <iostream>#include <libxml/parser.h>#include <memory>#include <span>#include <stdexcept>#include <string>#include <string_view>#include "core/logging.h"#include "libxml/globals.h"#include "libxml/xmlstring.h"
Include dependency graph for libxml_wrapper.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Classes | |
| class | XmlException |
| Exception class for handling XML-related errors. More... | |
| class | XmlElement |
| Class representing a node in an XML document. More... | |
| class | XmlDocument |
| Class for managing XML documents. More... | |
Functions | |
| void | mergeXmlDocuments (const XmlDocument &mainDoc, const XmlDocument &includedDoc) |
| Merge two XML documents. | |
| void | removeIncludeElements (const XmlDocument &doc) |
| Remove "include" elements from the XML document. | |
Wrapper for managing XML documents and elements using libxml2.
This header file provides classes and functions to simplify handling XML documents and elements using the libxml2 library. It includes basic functionality for manipulating XML nodes, attributes, content, and validation using DTD and XSD schemas.
Definition in file libxml_wrapper.h.
| void mergeXmlDocuments | ( | const XmlDocument & | mainDoc, |
| const XmlDocument & | includedDoc | ||
| ) |
Merge two XML documents.
| mainDoc | The main XML document. |
| includedDoc | The XML document to include. |
Definition at line 83 of file libxml_wrapper.cpp.
References XmlElement::getNode(), and XmlDocument::getRootElement().
Here is the call graph for this function:| void removeIncludeElements | ( | const XmlDocument & | doc | ) |
Remove "include" elements from the XML document.
| doc | The XML document from which to remove the "include" elements. |
Definition at line 98 of file libxml_wrapper.cpp.
References XmlElement::childElement(), and XmlDocument::getRootElement().
Here is the call graph for this function: