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 | 
Check for presence of a key in config
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(config_t), | intent(in) | :: | self | Config to check in | ||
| character(len=*), | intent(in) | :: | key | Key to check | 
Presence of key
Get the type of an entry for a key
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(config_t), | intent(in) | :: | self | Config to check in | ||
| character(len=*), | intent(in) | :: | key | Key to check | 
Type of data for key
Return a logical value from a config
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(config_t), | intent(in) | :: | self | Config to search in | ||
| character(len=*), | intent(in) | :: | key | Key to search for | 
Logical value for key
Return an integer value from a config
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(config_t), | intent(in) | :: | self | Config to search in | ||
| character(len=*), | intent(in) | :: | key | Key to search for | 
Integer value for key
Return a real value from a config
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(config_t), | intent(in) | :: | self | Config to search in | ||
| character(len=*), | intent(in) | :: | key | Key to search for | 
Read value for key
Return a complex value from a config
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(config_t), | intent(in) | :: | self | Config to search in | ||
| character(len=*), | intent(in) | :: | key | Key to search for | 
Complex value for key
Return a real vector value from a config
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(config_t), | intent(in) | :: | self | Config to search in | ||
| character(len=*), | intent(in) | :: | key | Key to search for | 
Real vector value for key
Return a real matrix value from a config
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(config_t), | intent(in) | :: | self | Config to search in | ||
| character(len=*), | intent(in) | :: | key | Key to search for | 
Real matrix value for key
Return a string value from a config
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(config_t), | intent(in) | :: | self | Config to search in | ||
| character(len=*), | intent(in) | :: | key | Key to search for | 
String value for key
Write the contents of a config to an I/O unit
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(config_t), | intent(inout) | :: | self | Config to write | ||
| integer, | intent(in) | :: | iou | I/O unit to write to |