34 va_start(args, category);
36#if ALIB_CHARACTERS_WIDE
49#if ALIB_CHARACTERS_WIDE
51 auto child= cursor.CreatePathIfNotExistent(wName).first;
53 auto child= cursor.CreatePathIfNotExistent(name).first;
55 if( !child.IsValid() )
57 ALIB_WARNING(
"RESOURCES",
"ConfigResourcePool: Resource value existed already. Name=", name)
62 (void) var.
Define(Priority::DefaultValues);
76 String256 path(category); path <<
'/' << name;
virtual ALIB_API void BootstrapBulk(const nchar *category,...) override
bool BootstrapAddOrReplace(const NString &category, const NString &name, const String &data) override
bool Try(const String &name)
ALIB_API bool Define(Priority requestedPriority=Priority::Standard)
Configuration * Get() noexcept
Configuration & Self() noexcept
constexpr bool IsNull() const
#define ALIB_WARNING(...)
#define ALIB_ASSERT_RESULT_EQUALS( func, value)
#define ALIB_ASSERT_ERROR(cond,...)
NLocalString< 64 > NString64
Type alias name for TLocalString<nchar,64>.
LocalString< 256 > String256
Type alias name for TLocalString<character,256>.
characters::character character
Type alias in namespace alib.
strings::TString< character > String
Type alias in namespace alib.
characters::nchar nchar
Type alias in namespace alib.
constexpr String NULL_STRING
A nulled string of the default character type.