IniSetting

Quick and dirty limited tagged union, because std.variant can't do recursive definitions

Retrieving the correct type is enforced by in contracts, so AssertErrors are thrown if the wrong type is attempted, and who knows what you'll get if you compile in release mode.

Constructors

this
this(string type, string value)
Undocumented in source.
this
this(IniSection value)
Undocumented in source.

Members

Enums

SettingType
enum SettingType
Undocumented in source.

Functions

get
T get()
Undocumented in source.
get
T get()
Undocumented in source.
get
T get()
Undocumented in source.
get
T get()
Undocumented in source.
get
T get()
Undocumented in source.

Templates

allowed
template allowed(T)
Undocumented in source.

Unions

SettingValue
union SettingValue
Undocumented in source.

Variables

currentType
SettingType currentType;
Undocumented in source.
values
SettingValue values;
Undocumented in source.

Meta