- assignConfigValue
void assignConfigValue(Options options, string configKey, Json configValue)
Undocumented in source. Be warned that the author may not have intended to support it.
- enforce
T enforce(T value, string message, string configKey, Json configValue, string file, size_t line)
Undocumented in source. Be warned that the author may not have intended to support it.
- fromBytes
auto fromBytes(size_t bytes)
- getConfigValue
auto getConfigValue(string configKey, Json configValue)
Undocumented in source. Be warned that the author may not have intended to support it.
- parseConfig
Options parseConfig(string configFile)
Options parseConfig(Json config)
Initialize options using config.
- readConfigFile
string readConfigFile(string configFileName)
Undocumented in source. Be warned that the author may not have intended to support it.
- retroInitFromConfig
Options retroInitFromConfig(Options options, string configFile)
Retroactively initialize options from config.
- retroInitFromConfig
Options retroInitFromConfig(Options options, Json config)
Undocumented in source. Be warned that the author may not have intended to support it.
- toBytes
auto toBytes(size_t value, SizeUnit unit)
Convert a value and unit to number of bytes.
- validateConfig
void validateConfig(Json config)
- validateConfigFile
void validateConfigFile(string configFile)
Validate and parse config files.