Interface to build new key-value pairs
Create a new key-value pair inside an existing table
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(toml_table), | intent(inout) | :: | table |
Instance of the TOML table |
||
character(kind=tfc, len=*), | intent(in) | :: | key |
Key for the new key-value pair |
||
type(toml_keyval), | intent(out), | pointer | :: | ptr |
Pointer to the newly created key-value pair |
|
integer, | intent(out), | optional | :: | stat |
Status of operation |
Create a new key-value pair inside an existing table
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(toml_table), | intent(inout) | :: | table |
Instance of the TOML table |
||
type(toml_key), | intent(in) | :: | key |
Key for the new key-value pair |
||
type(toml_keyval), | intent(out), | pointer | :: | ptr |
Pointer to the newly created key-value pair |
|
integer, | intent(out), | optional | :: | stat |
Status of operation |
Create a new key-value pair inside an existing array
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(toml_array), | intent(inout) | :: | array |
Instance of the TOML array |
||
type(toml_keyval), | intent(out), | pointer | :: | ptr |
Pointer to the newly created key-value pair |
|
integer, | intent(out), | optional | :: | stat |
Status of operation |