Setter functions to manipulate TOML values
Set TOML value to single precision float
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(toml_keyval), | intent(inout) | :: | self |
Instance of the key-value pair |
||
| real(kind=tf_sp), | intent(in) | :: | val |
Real value |
||
| integer, | intent(out), | optional | :: | stat |
Status of operation |
|
| integer, | intent(out), | optional | :: | origin |
Origin in the data structure |
Set TOML value to double precision float
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(toml_keyval), | intent(inout) | :: | self |
Instance of the key-value pair |
||
| real(kind=tf_dp), | intent(in) | :: | val |
Real value |
||
| integer, | intent(out), | optional | :: | stat |
Status of operation |
|
| integer, | intent(out), | optional | :: | origin |
Origin in the data structure |
Set TOML value to one byte integer
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(toml_keyval), | intent(inout) | :: | self |
Instance of the key-value pair |
||
| integer(kind=tf_i1), | intent(in) | :: | val |
Integer value |
||
| integer, | intent(out), | optional | :: | stat |
Status of operation |
|
| integer, | intent(out), | optional | :: | origin |
Origin in the data structure |
Set TOML value to two byte integer
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(toml_keyval), | intent(inout) | :: | self |
Instance of the key-value pair |
||
| integer(kind=tf_i2), | intent(in) | :: | val |
Integer value |
||
| integer, | intent(out), | optional | :: | stat |
Status of operation |
|
| integer, | intent(out), | optional | :: | origin |
Origin in the data structure |
Set TOML value to four byte integer
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(toml_keyval), | intent(inout) | :: | self |
Instance of the key-value pair |
||
| integer(kind=tf_i4), | intent(in) | :: | val |
Integer value |
||
| integer, | intent(out), | optional | :: | stat |
Status of operation |
|
| integer, | intent(out), | optional | :: | origin |
Origin in the data structure |
Set TOML value to eight byte integer
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(toml_keyval), | intent(inout) | :: | self |
Instance of the key-value pair |
||
| integer(kind=tf_i8), | intent(in) | :: | val |
Integer value |
||
| integer, | intent(out), | optional | :: | stat |
Status of operation |
|
| integer, | intent(out), | optional | :: | origin |
Origin in the data structure |
Set TOML value to logical
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(toml_keyval), | intent(inout) | :: | self |
Instance of the key-value pair |
||
| logical, | intent(in) | :: | val |
Boolean value |
||
| integer, | intent(out), | optional | :: | stat |
Status of operation |
|
| integer, | intent(out), | optional | :: | origin |
Origin in the data structure |
Set TOML value to datetime
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(toml_keyval), | intent(inout) | :: | self |
Instance of the key-value pair |
||
| type(toml_datetime), | intent(in) | :: | val |
Datetime value |
||
| integer, | intent(out), | optional | :: | stat |
Status of operation |
|
| integer, | intent(out), | optional | :: | origin |
Origin in the data structure |
Set TOML value to deferred-length character
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(toml_keyval), | intent(inout) | :: | self |
Instance of the key-value pair |
||
| character(kind=tfc, len=*), | intent(in) | :: | val |
String value |
||
| integer, | intent(out), | optional | :: | stat |
Status of operation |
|
| integer, | intent(out), | optional | :: | origin |
Origin in the data structure |