FTN_Getopt
Fortran command line processing
Private Member Functions | List of all members
ftn_getopt::optval Interface Reference

Generic interface optval(type(opt_t) option, <type> value, integer stat) More...

Private Member Functions

subroutine optval_logical (option, value, stat)
 Specific procedure of optval. More...
 
subroutine optval_integer (option, value, stat)
 Specific procedure of optval. More...
 
subroutine optval_real (option, value, stat)
 Specific procedure of optval. More...
 
subroutine optval_string (option, value, stat)
 Specific procedure of optval. More...
 

Detailed Description

Generic interface optval(type(opt_t) option, <type> value, integer stat)

extract value from type(opt_t) option object if set.

Parameters
[in]option.If the incoming option is not set, the value argument will not be modified and the invocation is considered to have failed.
[in,out]value.must be a scalar of one of the types integer, real, logical, or character(len=*)
[out]stat.(optional). status is returned if present.

Member Function/Subroutine Documentation

◆ optval_integer()

subroutine ftn_getopt::optval::optval_integer ( type(opt_t), intent(in)  option,
integer, intent(inout)  value,
integer, intent(out), optional  stat 
)
private

Specific procedure of optval.

◆ optval_logical()

subroutine ftn_getopt::optval::optval_logical ( type(opt_t), intent(in)  option,
logical, intent(inout)  value,
integer, intent(out), optional  stat 
)
private

Specific procedure of optval.

◆ optval_real()

subroutine ftn_getopt::optval::optval_real ( type(opt_t), intent(in)  option,
real, intent(inout)  value,
integer, intent(out), optional  stat 
)
private

Specific procedure of optval.

◆ optval_string()

subroutine ftn_getopt::optval::optval_string ( type(opt_t), intent(in)  option,
character(len=*), intent(inout)  value,
integer, intent(out), optional  stat 
)
private

Specific procedure of optval.


The documentation for this interface was generated from the following file: