Configuration

Undocumented in source.

Members

Aliases

ValueT
alias ValueT = SumType!(typeof(null), string, bool, long, double, This[], This[string])
Undocumented in source.

Functions

get
bool get(string component, string key, ValueT val)
Undocumented in source. Be warned that the author may not have intended to support it.
get
T get(string component, string key, T defaultValue)
Undocumented in source. Be warned that the author may not have intended to support it.
loadBase
void loadBase(Configuration global)

Loads unset keys from global, keeps existing keys

set
bool set(string component, string key, T value)
Undocumented in source. Be warned that the author may not have intended to support it.

Manifest constants

none
enum none;

Same as init but might make nicer code.

Static functions

toType
T toType(ValueT value)
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

Section
struct Section
Undocumented in source.

Variables

base
Section[string] base;

base configuration formatted as {component:{key:value pairs}}

Meta