IniLikeFile.createGroup

Create iniLikeGroup by groupName. This function is called only in constructor and can be reimplemented in derived classes, e.g. to insert additional checks or create specific derived class depending on groupName. Returned value is later passed to addCommentForGroup and addKeyValueForGroup methods as currentGroup. Reimplemented method also is allowd to return null. Default implementation just returns empty IniLikeGroup with name set to groupName.

class IniLikeFile
protected @trusted
createGroup
(
string groupName
)

Throws

Exception if group with such name already exists.

See Also

addKeyValueForGroup, addCommentForGroup

Meta