Function IniLikeFile.onKeyValue

Add key/value pair for group. This function is called only in constructor and can be reimplemented in derived classes.

void onKeyValue (
  string key,
  string value,
  IniLikeGroup currentGroup,
  string groupName
) @trusted;

Parameters

NameDescription
key Key to insert or set.
value Value to set for key.
currentGroup The group returned recently by createGroup during parsing. Can be null (e.g. if discarded)
groupName The name of the currently parsed group. Set even if currentGroup is null.

See Also

createGroup