CatapultServer
v0.5.0.1 (Elephant)
|
Go to the documentation of this file.
24 namespace catapult {
namespace utils {
class ConfigurationBag; } }
26 namespace catapult {
namespace config {
void VerifyBagSizeLte(const ConfigurationBag &bag, size_t expectedSize)
Verifies that the number of properties in bag is no greater than expectedSize.
Definition: utils/ConfigurationUtils.cpp:38
std::string PluginsDirectory
Plugins directory.
Definition: UserConfiguration.h:38
#define LOAD_STORAGE_PROPERTY(NAME)
std::string DataDirectory
Data directory.
Definition: UserConfiguration.h:35
A simple bag of properties.
Definition: ConfigurationBag.h:57
static UserConfiguration LoadFromBag(const utils::ConfigurationBag &bag)
Loads a user configuration from bag.
Definition: UserConfiguration.cpp:33
std::string BootKey
Boot key.
Definition: UserConfiguration.h:32
static UserConfiguration Uninitialized()
Creates an uninitialized user configuration.
Definition: UserConfiguration.cpp:29
Definition: AddressExtractionExtension.cpp:28
UserConfiguration()=default
User configuration settings.
Definition: UserConfiguration.h:29
#define LOAD_ACCOUNT_PROPERTY(NAME)