readConfigInto

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.

  1. void readConfigInto(string configFile, string[][string] missingEntries, string[][string] invalidEntries, T things)
  2. void readConfigInto(string configFile, T things)
    void
    readConfigInto
    (
    T...
    )
    (
    const string configFile
    ,
    ref T things
    )
    if (
    allSatisfy!(isStruct, T)
    )

Parameters

configFile string

Filename of file to read from.

things T

Reference variadic list of things to set values of, according to the text in the configuration file.

Meta