4#ifndef _Stroika_Foundation_DataExchange_Variant_XML_Reader_h_
5#define _Stroika_Foundation_DataExchange_Variant_XML_Reader_h_ 1
7#include "Stroika/Foundation/StroikaPreComp.h"
9#include "Stroika/Foundation/Common/Common.h"
24namespace Stroika::Foundation::DataExchange::Variant::XML {
119#if qCompilerAndStdLib_default_member_initializer_needed_within_enclosing_class_Buggy
121 Reader (
const Options& options);
abstract class specifying interface for readers that map a source like XML or JSON to a VariantValue ...
Read XML as a VariantValue - the inverse of Variant::XML::Writer, whose documentation has the shape.
Reader(const Binding &binding)
As Reader{Options{.fBinding = binding}}.
Reader(const Options &options={})
Reading as options says.
How a VariantValue is to be written as XML, and read back, where the default shape (.
How to read: the Binding - and which parser reads, and a schema the document must hold to.
DataExchange::XML::Options fXMLOptions
How the XML is parsed - by default, with Stroika's default provider; nearly always left as is (.
Binding fBinding
The Binding the Writer was given (.
bool fLenient
Read what the Binding describes from a document that does not quite hold to it, rather than throw - a...
DataExchange::XML::Schema::Ptr fValidateAgainst
A schema the document is validated against as it is read: reading one that does not hold to it throws...
How XML is read and written - for now, with which provider - taken last by each XML function (DOM::Do...