Donner SVG 0.8.0
0.8.0 ยท ebf353960.8.0 main
SVG editor and embeddable C⁠+⁠+⁠20 engine.
Loading...
Searching...
No Matches
donner::xml::components::XMLSourceStoreHolder Struct Reference

Holds the source store of a document for as long as the document exists. More...

#include "donner/base/xml/components/XMLDocumentContext.h"

Public Attributes

std::shared_ptr< XMLSourceStore > store
 The document's current source store, or null for a document without source text.

Detailed Description

Holds the source store of a document for as long as the document exists.

XMLDocument::setSource puts its new store in this holder rather than replacing the holder, so anything that keeps the holder sees the replacement on its next read. An SVG document keeps it outside the registry, to read its source without document access.

Member Data Documentation

◆ store

std::shared_ptr<XMLSourceStore> donner::xml::components::XMLSourceStoreHolder::store

The document's current source store, or null for a document without source text.


The documentation for this struct was generated from the following file: