get_toml_logical Subroutine

public subroutine get_toml_logical(table, key, value, context)

Arguments

Type IntentOptional Attributes Name
type(toml_table), intent(inout) :: table
type(toml_key), intent(in) :: key
logical, intent(out) :: value
character(len=*), intent(in) :: context

Calls

proc~~get_toml_logical~~CallsGraph proc~get_toml_logical get_toml_logical get_value get_value proc~get_toml_logical->get_value proc~require_toml_success require_toml_success proc~get_toml_logical->proc~require_toml_success proc~stop_config_error stop_config_error proc~require_toml_success->proc~stop_config_error

Source Code

  subroutine get_toml_logical(table, key, value, context)
    type(toml_table), intent(inout) :: table
    type(toml_key), intent(in) :: key
    logical, intent(out) :: value
    character(len=*), intent(in) :: context
    integer :: stat

    call get_value(table, key, value, stat=stat)
    call require_toml_success(stat, context)
  end subroutine get_toml_logical