9#ifndef HPP_ALIB_LANG_RESOURCES_CONFIG_RESOURCE_POOL
10#define HPP_ALIB_LANG_RESOURCES_CONFIG_RESOURCE_POOL 1
16#include "alib/lang/resources/detail/resourcemap.hpp"
22namespace alib {
namespace config {
24#if ALIB_THREADS || DOXYGEN
67 unsigned int bufferGrowthInPercent = 200 )
68 :
TSharedConfiguration(initialBufferSizeInKB, bufferGrowthInPercent, lang::CreateDefaults::No) {}
84 const String& data )
override;
115 ALIB_DBG(,
bool dbgAssert) )
override;
virtual ALIB_API void BootstrapBulk(const nchar *category,...) override
bool BootstrapAddOrReplace(const NString &category, const NString &name, const String &data) override
ConfigResourcePool(size_t initialBufferSizeInKB=4, unsigned int bufferGrowthInPercent=200)
virtual ~ConfigResourcePool() override=default
Default Destructor.
void Reset(lang::CreateDefaults createDefaults=lang::CreateDefaults::Yes)
void Reset(lang::CreateDefaults createDefaults=lang::CreateDefaults::Yes)
Configuration * Get() noexcept
#define ALIB_ASSERT_MODULE(modulename)
CreateDefaults
Denotes whether default entities should be created or not.
@ Yes
Create default values.
characters::nchar nchar
Type alias in namespace alib.