|
|
Donner
C++20 SVG rendering library
|
Holds global state of an XML document, such as the root element. More...
#include "donner/base/xml/components/XMLDocumentContext.h"
Public Member Functions | |
| XMLDocumentContext (InternalCtorTag ctorTag) | |
| Internal constructor, creates a context on the given XMLDocument. | |
Public Attributes | |
| Entity | rootEntity = entt::null |
| Root entity of the document. | |
Friends | |
| class | donner::xml::XMLDocument |
| class | donner::xml::XMLNode |
Holds global state of an XML document, such as the root element.
One instance of this class is created per XML document.
Access the document context via the Registry::ctx API:
|
inlineexplicit |
Internal constructor, creates a context on the given XMLDocument.
To use this class, access it via the Registry::ctx API.
| ctorTag | Internal tag to allow construction. |