wire_value_t Derived Type

type, public :: wire_value_t

A typed wire value, populated by =decode_set_value= or =decode_load_config_inline=. Exactly one of the typed fields is meaningful per entry, identified by =kind= (see =cfg_kind_*= in =config_schema=). Strings up to 256 chars; longer strings are rejected by the decoder with =code="type_mismatch"= so the dispatch arm has a fixed-size scratch buffer to hand to =solver_session_set_string=.


Components

Type Visibility Attributes Name Initial
integer, public :: kind = -1
integer, public :: int_value = 0
real(kind=real64), public :: real_value = 0.0_real64
logical, public :: log_value = .false.
character(len=256), public :: str_value = ''
real(kind=real64), public :: vec_value(3) = 0.0_real64