18 va_start(args, category);
19 auto cursor=
Self().Root();
20#if ALIB_CHARACTERS_WIDE
22 cursor.GoToCreateChildIfNotExistent( wCategory );
24 cursor.GoToCreateChildIfNotExistent( category );
32 #if ALIB_CHARACTERS_WIDE
34 auto child= cursor.CreatePathIfNotExistent(wName).first;
36 auto child= cursor.CreatePathIfNotExistent(name).first;
38 if( !child.IsValid() ) {
39 ALIB_WARNING(
"RESOURCES",
"ConfigResourcePool: Resource value existed already. Name=",
45 (void) var.
Define(Priority::DefaultValues);
59 String256 path(category); path <<
'/' << name;
65 "Missing resource \"{}\" in category: \"{}\"", name, category )
#define ALIB_WARNING(domain,...)
#define ALIB_ASSERT_ERROR(cond, domain,...)
constexpr bool IsNull() const
virtual void BootstrapBulk(const nchar *category,...) override
bool BootstrapAddOrReplace(const NString &category, const NString &name, const String &data) override
bool Define(Priority requestedPriority=Priority::Standard)
bool Try(const String &name)
strings::TString< nchar > NString
Type alias in namespace #"%alib".
constexpr String NULL_STRING
A nulled string of the default character type.
strings::TString< character > String
Type alias in namespace #"%alib".
characters::nchar nchar
Type alias in namespace #"%alib".
LocalString< 256 > String256
Type alias name for #"TLocalString;TLocalString<character,256>".
characters::character character
Type alias in namespace #"%alib".