tem_getOptValOrDef Interface

public interface tem_getOptValOrDef

Calls

interface~~tem_getoptvalordef~~CallsGraph interface~tem_getoptvalordef tem_getOptValOrDef proc~tem_getoptvalordef_char tem_getoptvalordef_char interface~tem_getoptvalordef->proc~tem_getoptvalordef_char proc~tem_getoptvalordef_int tem_getoptvalordef_int interface~tem_getoptvalordef->proc~tem_getoptvalordef_int proc~tem_getoptvalordef_logical tem_getoptvalordef_logical interface~tem_getoptvalordef->proc~tem_getoptvalordef_logical proc~tem_getoptvalordef_long tem_getoptvalordef_long interface~tem_getoptvalordef->proc~tem_getoptvalordef_long proc~tem_getoptvalordef_real tem_getoptvalordef_real interface~tem_getoptvalordef->proc~tem_getoptvalordef_real

Module Procedures

private function tem_getoptvalordef_logical(value, default) result(res)

returns the optional value, if present, or the default.

Read more…

Arguments

Type IntentOptional Attributes Name
logical, optional :: value

the optional value to check for

logical :: default

the default to use when the optional value is not present.

Return Value logical

the result

private function tem_getoptvalordef_int(value, default) result(res)

returns the optional value, if present, or the default.

Read more…

Arguments

Type IntentOptional Attributes Name
integer, optional :: value

the optional value to check for

integer :: default

the default to use when the optional value is not present.

Return Value integer

the result

private function tem_getoptvalordef_long(value, default) result(res)

returns the optional value, if present, or the default.

Read more…

Arguments

Type IntentOptional Attributes Name
integer(kind=long_k), optional :: value

the optional value to check for

integer(kind=long_k) :: default

the default to use when the optional value is not present.

Return Value integer(kind=long_k)

the result

private function tem_getoptvalordef_real(value, default) result(res)

returns the optional value, if present, or the default.

Read more…

Arguments

Type IntentOptional Attributes Name
real(kind=rk), optional :: value

the optional value to check for

real(kind=rk) :: default

the default to use when the optional value is not present.

Return Value real(kind=rk)

the result

private function tem_getoptvalordef_char(value, default) result(res)

returns the optional value, if present, or the default.

Read more…

Arguments

Type IntentOptional Attributes Name
character(len=1), optional :: value

the optional value to check for

character(len=1) :: default

the default to use when the optional value is not present.

Return Value character(len=1)

the result