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. | |
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.
| std::shared_ptr<XMLSourceStore> donner::xml::components::XMLSourceStoreHolder::store |
The document's current source store, or null for a document without source text.