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