IniLikeGroup

Undocumented in source.

Members

Functions

addComment
void addComment(string comment)
Undocumented in source. Be warned that the author may not have intended to support it.
byKeyValue
auto byKeyValue()
byLine
auto byLine()
Undocumented in source. Be warned that the author may not have intended to support it.
contains
bool contains(string key)

Tells if group contains value associated with the key.

localizedValue
string localizedValue(string key, string locale, string defaultValue)

Performs locale matching lookup as described in Localized values for keys. If locale is null it calls currentLocale to get the locale.

name
string name()
opIndex
string opIndex(string key)
opIndexAssign
string opIndexAssign(string value, string key)

Inserts new value or replaces the old one if value associated with key already exists.

opIndexAssign
string opIndexAssign(string value, string key, string locale)

Ditto, but also allows to specify the locale.

removeEntry
void removeEntry(string key)

Removes entry by key. To remove localized values use localizedKey.

setLocalizedValue
void setLocalizedValue(string key, string locale, string value)

Same as localized version of opIndexAssign, but uses function syntax.

value
string value(string key, string defaultValue)

Meta