Function wrapper to set a character(len=:), allocatable variable to a toml table
Check the key is not empty
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(toml_table), | intent(inout) | :: | table |
Instance of the TOML data structure |
||
| character(len=*), | intent(in) | :: | key |
List of keys to check. |
||
| character(len=*), | intent(in), | optional | :: | var |
The character variable |
|
| type(error_t), | intent(out), | allocatable | :: | error |
Error handling |
|
| character(len=*), | intent(in), | optional | :: | whereAt |
Optional description |
Function wrapper to set a character(len=:), allocatable variable to a toml table
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(toml_table), | intent(inout) | :: | table |
Instance of the TOML data structure |
||
| character(len=*), | intent(in) | :: | key |
List of keys to check. |
||
| type(string_t), | intent(in) | :: | var |
The character variable |
||
| type(error_t), | intent(out), | allocatable | :: | error |
Error handling |
|
| character(len=*), | intent(in), | optional | :: | whereAt |
Optional description |