kameloso.configreader

Functions related to reading from a configuration file, broken out of kameloso.config to avoid cyclic dependencies.

Members

Classes

ConfigurationFileReadFailureException
class ConfigurationFileReadFailureException

Exception, to be thrown when the specified configuration file could not be read, for whatever reason.

Functions

configurationText
auto configurationText(string configFile)

Reads a configuration file into a string.

readConfigInto
void readConfigInto(string configFile, string[][string] missingEntries, string[][string] invalidEntries, T things)

Reads a configuration file and applies the settings therein to passed objects.

readConfigInto
void readConfigInto(string configFile, T things)

Reads a configuration file and applies the settings therein to passed objects. Merely wraps the other readConfigInto overload and distinguishes itself from it by not taking the two string[][string] out parameters it does.

See Also

Meta