set_value Interface

public interface set_value

set_value: fpm interface


Module Procedures

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

Function wrapper to set a logical variable to 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(in) :: var

The variable

type(error_t), intent(out), allocatable :: error

Error handling

character(len=*), intent(in), optional :: whereAt

Optional description

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

Function wrapper to set a default integer variable to 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(in) :: var

The variable

type(error_t), intent(out), allocatable :: error

Error handling

character(len=*), intent(in), optional :: whereAt

Optional description

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

Function wrapper to set a default integer variable to 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(in) :: var

The variable

type(error_t), intent(out), allocatable :: error

Error handling

character(len=*), intent(in), optional :: whereAt

Optional description