CatapultServer
v0.5.0.1 (Elephant)
|
Go to the source code of this file.
Namespaces | |
catapult | |
catapult::utils | |
Functions | |
std::string | catapult::utils::GetIniPropertyName (const char *cppVariableName) |
Gets the ini property name corresponding to the cpp variable name (cppVariableName). More... | |
template<typename T > | |
void | catapult::utils::LoadIniProperty (const ConfigurationBag &bag, const char *section, const char *cppVariableName, T &value) |
void | catapult::utils::VerifyBagSizeLte (const ConfigurationBag &bag, size_t expectedSize) |
Verifies that the number of properties in bag is no greater than expectedSize. More... | |
ConfigurationBag | catapult::utils::ExtractSectionAsBag (const ConfigurationBag &bag, const char *section) |
Extracts all section properties from bag into a new bag with a single section with a default (empty string) name. More... | |
std::pair< std::unordered_set< std::string >, size_t > | catapult::utils::ExtractSectionAsUnorderedSet (const ConfigurationBag &bag, const char *section) |
std::pair< std::vector< std::string >, size_t > | catapult::utils::ExtractSectionAsOrderedVector (const ConfigurationBag &bag, const char *section) |