IRCPlugin.deserialiseConfigFrom

Reads serialised configuration text into the plugin's settings struct.

Stores an associative array of string[]s of missing entries in its first out string[][string] parameter, and the invalid encountered entries in the second.

class IRCPlugin
@safe
void
deserialiseConfigFrom
(
const string configFile
,
out string[][string] missingEntries
,
out string[][string] invalidEntries
)

Parameters

configFile string

String of the configuration file to read.

missingEntries string[][string]

Out reference of an associative array of string arrays of expected configuration entries that were missing.

invalidEntries string[][string]

Out reference of an associative array of string arrays of unexpected configuration entries that did not belong.

See Also