dini.reader

Implements INI reader.

INIReader is fairly low-level, configurable reader for reading INI data, which you can use to build your own object-model.

High level interface is available in dini.parser.

More...

Members

Aliases

StrictINIReader
alias StrictINIReader = INIReader!(StrictINIFormat, INIFlags.TrimKeys, (string a) => a)

Strict INIReader variant.

UniversalINIReader
alias UniversalINIReader = INIReader!(UniversalINIFormat, INIFlags.TrimAll | INIFlags.ProcessEscapes, (string a) => a)

Universal INIReader variant.

Classes

INIException
class INIException

Thrown when an parsing error occurred.

Enums

INIFlags
enum INIFlags

INIReader behaviour flags.

INIToken
enum INIToken

Represents type of current token used by INIReader.

Structs

INIBlockDef
struct INIBlockDef

Represents a block definition.

INIFormatDescriptor
struct INIFormatDescriptor

Defines INI format.

INIReader
struct INIReader(INIFormatDescriptor Format, ubyte Flags = 0x00, alias Boxer)

Splits source into tokens.

INIReaderKey
struct INIReaderKey(ValueType)

Represents parsed INI key.

Variables

StrictINIFormat
INIFormatDescriptor StrictINIFormat;

Strict INI format.

UniversalINIFormat
INIFormatDescriptor UniversalINIFormat;

Universal INI format.

Detailed Description

Unless you need to change INIReader behaviour, you should use one of provided preconfigured readers:

- StrictINIReader

Lower compatibility, may be bit faster.

- UniversalINIReader

Higher compatibility, may be slighly slower.

Meta