4#include "Stroika/Foundation/StroikaPreComp.h"
13using namespace Stroika::Foundation::DataExchange::Variant;
14using namespace Stroika::Foundation::DataExchange::Variant::INI;
35 if (not fUnnamedSection.fProperties.empty ()) {
36 sb <<
"UnnamedSection: "sv << fUnnamedSection <<
","sv;
38 if (not fNamedSections.empty ()) {
39 sb <<
"NamedSections: "sv << fNamedSections;
55 if (kvi.fValue.GetType () == VariantValue::eMap) {
58 newSection.fProperties.Add (namedSectionElt.fKey, namedSectionElt.fValue.As<
String> ());
60 profile.fNamedSections.Add (kvi.fKey, newSection);
64 profile.fUnnamedSection.fProperties.Add (kvi.fKey, kvi.fValue.As<
String> ());
75 m.
Add (k.fKey, k.fValue);
81 mv.
Add (kvp.fKey, sec2VV (kvp.fValue));
84 mv.
Add (kvp.fKey, kvp.fValue);
Similar to String, but intended to more efficiently construct a String. Mutable type (String is large...
String is like std::u32string, except it is much easier to use, often much more space efficient,...
nonvirtual bool Add(ArgByValueType< key_type > key, ArgByValueType< mapped_type > newElt, AddReplaceMode addReplaceMode=AddReplaceMode::eAddReplaces)
Simple variant-value (case variant union) object, with (variant) basic types analogous to a value in ...
nonvirtual RETURNTYPE As() const
String ToString(T &&t, ARGS... args)
Return a debug-friendly, display version of the argument: not guaranteed parsable or usable except fo...
nonvirtual String ToString() const
nonvirtual String ToString() const