4#include "Stroika/Frameworks/StroikaPreComp.h"
6#include "Stroika/Foundation/Containers/Mapping.h"
9#include "Stroika/Frameworks/UPnP/DeviceDescription.h"
38#if qStroika_Foundation_DataExchange_XML_SupportParsing and qStroika_Foundation_DataExchange_XML_SupportSchema and qStroika_Foundation_DataExchange_XML_SupportDOM
40 DISABLE_COMPILER_GCC_WARNING_START (
"GCC diagnostic ignored \"-Wunused-variable\"");
42#include "device-1-0.xsd.embed"
43 DISABLE_COMPILER_GCC_WARNING_END (
"GCC diagnostic ignored \"-Wunused-variable\"");
49using namespace Stroika::Frameworks;
50using namespace Stroika::Frameworks::UPnP;
57 auto compiled = sCompiled_.
rwget ();
58 const XML::Providers::IXMLProvider* provider = &o.GetProvider ();
59 if (optional<XML::Schema::Ptr> s = compiled->Lookup (provider)) {
62 XML::Schema::Ptr s = XML::Schema::New (Memory::BLOB::Attach (Schemas_device_1_0_xsd),
nullptr, o);
63 compiled->Add (provider, s);
Wrap any object with Synchronized<> and it can be used similarly to the base type,...
nonvirtual WritableReference rwget()
get a read-write smart pointer to the underlying Synchronized<> object, holding the full lock the who...
How XML is read and written - for now, with which provider - taken last by each XML function (DOM::Do...