Config

Main Config class

Constructors

this
this()
Undocumented in source.

Members

Functions

lookUp
inout(Setting) lookUp(string name)
Undocumented in source. Be warned that the author may not have intended to support it.
lookUpValue
Nullable!T lookUpValue(string name)
Undocumented in source. Be warned that the author may not have intended to support it.
makeSetting
Setting makeSetting(AggregateSetting parent, string name, Type type)
Undocumented in source. Be warned that the author may not have intended to support it.
remove
bool remove(string path)
Undocumented in source. Be warned that the author may not have intended to support it.
toString
string toString()

writes the configuration to a string

writeTo
void writeTo(O writer)

writes the configuration to the given output range

Properties

defaultIntegerFormat
IntegerFormat defaultIntegerFormat [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
defaultIntegerFormat
IntegerFormat defaultIntegerFormat [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
floatPrecision
ushort floatPrecision [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
floatPrecision
ushort floatPrecision [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
options
BitFlags!Option options [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
options
BitFlags!Option options [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
root
inout(GroupSetting) root [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
tabWidth
ushort tabWidth [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
tabWidth
ushort tabWidth [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

read
Config read(File configFile, string[] includeDirs)

Read a config from an opened file. The file must be open in text mode (e.g. File(fname, "r"))

readFile
Config readFile(string configFile, string[] includeDirs)

read from configuration residing in configFile

readString
Config readString(string configStr, string[] includeDirs)

Read from configuration string

Meta