| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| character(len=LEN_CMD), | public, | allocatable | :: | subc(:) | |||
| character(len=LEN_CMD), | private | :: | name | = | '' |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cmd_t), | intent(in) | :: | self |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cmd_t), | intent(inout) | :: | self | |||
| character(len=*), | intent(in) | :: | name |
type, public :: cmd_t ! command type character(LEN_CMD), private :: name = '' character(LEN_CMD), allocatable :: subc(:) ! sub-command contains procedure :: get_name => cmd__get_name procedure :: set_name => cmd__set_name end type cmd_t