IniSection

Section of keys in an INI file.

Constructors

this
this(Ini ini, string name)
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Functions

getValue
string getValue(string keyName, string defaultValue)
key
IniKey key(string keyName)
opApply
int opApply(int delegate(ref IniKey) dg)

foreach key. Перебор ключей в цикле

opIndex
string opIndex(string keyName)

Shortcut for getValue(keyName).

opIndexAssign
void opIndexAssign(string newValue, string keyName)

Shortcut for setValue(keyName, newValue).

remove
void remove(string keyName)

_Remove key keyName.

setValue
void setValue(IniKey ikey, string newValue)

Set an existing key's value.

setValue
void setValue(string keyName, string newValue)

Find or create key keyName and set its _value to newValue.

value
void value(IniKey ikey, string newValue)

Same as setValue(ikey, newValue).

value
void value(string keyName, string newValue)

Same as setValue(keyName, newValue).

value
string value(string keyName)

Same as getValue(keyName, null).

Properties

keys
IniKey[] keys [@property getter]

Property: get all keys. Дай перечень всех ключей

name
string name [@property getter]

Property: get section name. Вернуть имя секции

name
string name [@property setter]

Property: set section name. Установить имя секции. Взвести флаг модификации

Variables

_ini
Ini _ini;
Undocumented in source.
_name
string _name;
Undocumented in source.
lines
IniLine[] lines;
Undocumented in source.

Meta