get_value: fpm interface
Function wrapper to get a logical variable from a toml table, returning an fpm error
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(toml_table), | intent(inout) | :: | table |
Instance of the TOML data structure |
||
| character(len=*), | intent(in) | :: | key |
The key |
||
| logical, | intent(inout) | :: | var |
The variable |
||
| type(error_t), | intent(out), | allocatable | :: | error |
Error handling |
|
| character(len=*), | intent(in), | optional | :: | whereAt |
Optional description |
Function wrapper to get a default integer variable from a toml table, returning an fpm error
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(toml_table), | intent(inout) | :: | table |
Instance of the TOML data structure |
||
| character(len=*), | intent(in) | :: | key |
The key |
||
| integer, | intent(inout) | :: | var |
The variable |
||
| type(error_t), | intent(out), | allocatable | :: | error |
Error handling |
|
| character(len=*), | intent(in), | optional | :: | whereAt |
Optional description |
Function wrapper to get a integer(int64) variable from a toml table, returning an fpm error
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(toml_table), | intent(inout) | :: | table |
Instance of the TOML data structure |
||
| character(len=*), | intent(in) | :: | key |
The key |
||
| integer(kind=int64), | intent(inout) | :: | var |
The variable |
||
| type(error_t), | intent(out), | allocatable | :: | error |
Error handling |
|
| character(len=*), | intent(in), | optional | :: | whereAt |
Optional description |
Function wrapper to get a default character variable from a toml table, returning an fpm error
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(toml_table), | intent(inout) | :: | table |
Instance of the TOML data structure |
||
| character(len=*), | intent(in) | :: | key |
The key |
||
| character(len=:), | intent(inout), | allocatable | :: | var |
The variable |
|
| type(error_t), | intent(out), | allocatable | :: | error |
Error handling |
|
| character(len=*), | intent(in), | optional | :: | whereAt |
Optional description |
Function wrapper to get a default string variable from a toml table, returning an fpm error
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(toml_table), | intent(inout) | :: | table |
Instance of the TOML data structure |
||
| character(len=*), | intent(in) | :: | key |
The key |
||
| type(string_t), | intent(inout) | :: | var |
The variable |
||
| type(error_t), | intent(out), | allocatable | :: | error |
Error handling |
|
| character(len=*), | intent(in), | optional | :: | whereAt |
Optional description |