get_value Interface

public interface get_value

get_value: fpm interface


Module Procedures

private subroutine get_logical(table, key, var, error, whereAt)

Function wrapper to get a logical variable from a toml table, returning an fpm error

Arguments

Type IntentOptional 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

private subroutine get_integer(table, key, var, error, whereAt)

Function wrapper to get a default integer variable from a toml table, returning an fpm error

Arguments

Type IntentOptional 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

private subroutine get_integer_64(table, key, var, error, whereAt)

Function wrapper to get a integer(int64) variable from a toml table, returning an fpm error

Arguments

Type IntentOptional 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