IniLikeReader

Object for iterating through ini-like file entries.

struct IniLikeReader (
Range
) if (
isInputRange!Range &&
isSomeString!(ElementType!Range)
&&
is(ElementEncodingType!(ElementType!Range) : char)
) {}

Constructors

this
this(Range range)

Construct from other range of strings.

Members

Functions

byGroup
auto byGroup()

Iterate thorugh groups of .ini-like file.

byLeadingLines
auto byLeadingLines()

Iterate through lines before any group header. It does not check if all lines are comments or empty lines.

Structs

Group
struct Group(Range)

Object representing single group (section) being parsed in .ini-like file.

Meta