8#if !defined(ALIB_C20_MODULES) || ((ALIB_C20_MODULES != 0) && (ALIB_C20_MODULES != 1))
9# error "Symbol ALIB_C20_MODULES has to be given to the compiler as either 0 or 1"
57 va_start(args, category);
58 auto cursor=
Self().Root();
59#if ALIB_CHARACTERS_WIDE
72 #if ALIB_CHARACTERS_WIDE
74 auto child= cursor.CreatePathIfNotExistent(wName).first;
76 auto child= cursor.CreatePathIfNotExistent(name).first;
78 if( !child.IsValid() )
80 ALIB_WARNING(
"RESOURCES",
"ConfigResourcePool: Resource value existed already. Name=",
86 (void) var.
Define(Priority::DefaultValues);
100 String256 path(category); path <<
'/' << name;
106 "Unknown resource! Category: {}, Name: ", category, name )
constexpr bool IsNull() const
virtual ALIB_DLL void BootstrapBulk(const nchar *category,...) override
bool BootstrapAddOrReplace(const NString &category, const NString &name, const String &data) override
ALIB_DLL bool Define(Priority requestedPriority=Priority::Standard)
bool Try(const String &name)
#define ALIB_ASSERT_RESULT_EQUALS( func, value)
#define ALIB_WARNING(domain,...)
#define ALIB_ASSERT_ERROR(cond, domain,...)
constexpr String NULL_STRING
A nulled string of the default character type.
LocalString< 256 > String256
Type alias name for TLocalString<character,256>.
strings::TString< nchar > NString
Type alias in namespace alib.
characters::nchar nchar
Type alias in namespace alib.
strings::TString< character > String
Type alias in namespace alib.
characters::character character
Type alias in namespace alib.