IniLikeFile

Undocumented in source.

Constructors

this
this()
Undocumented in source.
this
this(Range byLine, ReadOptions options, string fileName)
Undocumented in source.

Members

Enums

ReadOptions
enum ReadOptions

Flags to manage .ini like file reading

Functions

addFirstComment
void addFirstComment(string line)
Undocumented in source. Be warned that the author may not have intended to support it.
addGroup
IniLikeGroup addGroup(string groupName)

Creates new group usin groupName.

byGroup
auto byGroup()

Range of groups in order how they were defined in file.

fileName
string fileName()
firstComments
auto firstComments()
Undocumented in source. Be warned that the author may not have intended to support it.
group
inout(IniLikeGroup) group(string groupName)
removeGroup
void removeGroup(string groupName)

Removes group by name.

saveToFile
void saveToFile(string fileName)

Saves object to file using .ini like format.

saveToString
string saveToString()

Saves object to string using .ini like format.

Static functions

loadFromFile
IniLikeFile loadFromFile(string fileName, ReadOptions options)

Reads desktop file from file.

loadFromString
IniLikeFile loadFromString(string contents, ReadOptions options, string fileName)

Reads desktop file from string.

Meta