Module for reading variables from config files
Change string to character Change pair_t component names to data_[type]
Type to store a set of pairs and access their data
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
character(len=:), | public, | allocatable | :: | fn | Filename data was read from |
||
type(pair_t), | public, | dimension(:), allocatable | :: | pairs | Pairs of data |
Constructor for config_t
private function newConfig(fn) | Constructor for config_t |
procedure, public :: isFound | |
procedure, public :: getType | |
procedure, public :: getLogical | |
procedure, public :: getInteger | |
procedure, public :: getReal | |
procedure, public :: getComplex | |
procedure, public :: getVector | |
procedure, public :: getMatrix | |
procedure, public :: getString | |
procedure, public :: writeContents |