4#include "Stroika/Foundation/StroikaPreComp.h"
7#include "Stroika/Foundation/DataExchange/BadFormatException.h"
17using namespace Stroika::Foundation::DataExchange::XML;
20using Memory::MakeSharedPtr;
28 : fSerializationConfiguration_{config}
33 virtual _SharedPtrIRep Clone ()
const override
35 return MakeSharedPtr<Rep_> (fSerializationConfiguration_);
37 virtual optional<filesystem::path> GetDefaultFileSuffix ()
const override
48#if USE_NOISY_TRACE_IN_THIS_MODULE_
52#if qStroika_HasComponent_xerces
62 return fSerializationConfiguration_;
66 fSerializationConfiguration_ = config;
83Variant::XML::Reader::Rep_& Variant::XML::Reader::GetRep_ ()
86 return reinterpret_cast<Rep_&
> (inherited::_GetRep ());
89const Variant::XML::Reader::Rep_& Variant::XML::Reader::GetRep_ ()
const
92 return reinterpret_cast<const Rep_&
> (inherited::_ConstGetRep ());
97 return GetRep_ ().GetConfiguration ();
102 GetRep_ ().SetConfiguration (config);
#define AssertNotImplemented()
#define EnsureMember(p, c)
auto MakeSharedPtr(ARGS_TYPE &&... args) -> shared_ptr< T >
same as make_shared, but if type T has block allocation, then use block allocation for the 'shared pa...
conditional_t< qStroika_Foundation_Memory_PreferBlockAllocation and andTrueCheck, BlockAllocationUseHelper< T >, Common::Empty > UseBlockAllocationIfAppropriate
Use this to enable block allocation for a particular class. Beware of subclassing.
Simple variant-value (case variant union) object, with (variant) basic types analogous to a value in ...
Ptr New(const InputStream::Ptr< byte > &src, optional< AutomaticCodeCvtFlags > codeCvtFlags={}, optional< SeekableFlag > seekable={}, ReadAhead readAhead=eReadAheadAllowed)
Create an InputStream::Ptr<Character> from the arguments (usually binary source) - which can be used ...