Index
Modules:
iniplus
,
iniplus/objects
,
iniplus/reader
,
iniplus/retrieve
,
iniplus/writer
.
API symbols
Bool:
objects: ConfigValueType.Bool
ConfigTable:
objects: type ConfigTable
ConfigValue:
objects: object ConfigValue
ConfigValueType:
objects: enum ConfigValueType
convertValue:
objects: proc convertValue(raw: string): ConfigValue
create:
objects: proc create(kind: ConfigValueType): ConfigValue
dump:
writer: proc dump(table: ConfigTable): string
exists:
retrieve: proc exists(table: ConfigTable; section, key: string): bool
getArray:
retrieve: proc getArray(table: ConfigTable; section, key: string): seq[ConfigValue]
getBool:
retrieve: proc getBool(table: ConfigTable; section, key: string): bool
getBoolArray:
retrieve: proc getBoolArray(table: ConfigTable; section, key: string): seq[bool]
getDate:
retrieve: proc getDate(table: ConfigTable; section, key: string): DateTime
getInt:
retrieve: proc getInt(table: ConfigTable; section, key: string): int
getIntArray:
retrieve: proc getIntArray(table: ConfigTable; section, key: string): seq[int]
getString:
retrieve: proc getString(table: ConfigTable; section, key: string): string
getStringArray:
retrieve: proc getStringArray(table: ConfigTable; section, key: string): seq[string]
getStringOrDefault:
retrieve: proc getStringOrDefault(table: ConfigTable; section, key, default: string): string
getValue:
retrieve: proc getValue(table: ConfigTable; section, key: string): ConfigValue
Int:
objects: ConfigValueType.Int
newConfigTable:
writer: proc newConfigTable(): ConfigTable
newValue:
writer: proc newValue(value: bool): ConfigValue
writer: proc newValue(value: int): ConfigValue
writer: proc newValue(value: seq[ConfigValue]): ConfigValue
writer: proc newValue(value: string): ConfigValue
writer: proc newValue(value: varargs[ConfigValue]): ConfigValue
None:
objects: ConfigValueType.None
parseFile:
reader: proc parseFile(filename: string): ConfigTable
parseString:
reader: proc parseString(input: string): ConfigTable
Sequence:
objects: ConfigValueType.Sequence
setKey:
writer: proc setKey(table: var ConfigTable; section, key: string; value: ConfigValue)
setKeyMultiVal:
writer: proc setKeyMultiVal(table: var ConfigTable; section, key: string; value: string)
setKeySingleVal:
writer: proc setKeySingleVal(table: var ConfigTable; section, key: string; value: string)
String:
objects: ConfigValueType.String
toString:
writer: proc toString(table: ConfigTable): string
writer: proc toString(val: ConfigValue): string
trimString:
objects: proc trimString(raw: string): string
unroll:
retrieve: proc unroll(table: Table[string, ConfigValue]): Table[string, string]
writeToFile:
writer: proc writeToFile(filename: string; table: ConfigTable): bool