forgex_cli_type_m Module



Derived Types

type, public ::  arg_element_t

Components

Type Visibility Attributes Name Initial
character(len=:), public, allocatable :: v

type, public ::  arg_t

Components

Type Visibility Attributes Name Initial
type(arg_element_t), public, allocatable :: arg(:)
integer, public :: argc
character(len=:), public, allocatable :: entire

type, public ::  cmd_t

Components

Type Visibility Attributes Name Initial
character(len=LEN_CMD), public, allocatable :: subc(:)
character(len=LEN_CMD), private :: name = ''

Type-Bound Procedures

procedure, public :: get_name => cmd__get_name
procedure, public :: set_name => cmd__set_name

type, public ::  flag_t

Components

Type Visibility Attributes Name Initial
character(len=:), public, allocatable :: long_f
character(len=32), public :: name
character(len=:), public, allocatable :: short_f

type, public ::  pattern_t

Components

Type Visibility Attributes Name Initial
character(len=:), public, allocatable :: p

Functions

private pure function cmd__get_name(self) result(res)

Arguments

Type IntentOptional Attributes Name
class(cmd_t), intent(in) :: self

Return Value character(len=:), allocatable


Subroutines

private pure subroutine cmd__set_name(self, name)

Arguments

Type IntentOptional Attributes Name
class(cmd_t), intent(inout) :: self
character(len=*), intent(in) :: name