IniSection

An inifile section wrapper.

Constructors

this
this(string name, IniFile!(sync) parent)

Creates a new instance of IniSection.

Members

Functions

hasKey
bool hasKey(string key)

Checks whether the section has a key or not.

read
auto read(string key, string defaultValue)

Reads a value from the section.

read
auto read(string key, string defaultValue, T value)

Reads a value from the section.

read
auto read(string key)

Reads a value from the section.

read
auto read(string key, T value)

Reads a value from the section.

write
auto write(string key, T value)

Writes an entry to the section.

Properties

keys
string[] keys [@property getter]

Gets the keys of the section.

name
string name [@property getter]

Gets the name of the section.

parent
IniFile!(sync) parent [@property getter]

Gets the parental inifile.

values
string[] values [@property getter]

Gets the values of the section.

Meta