Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(cmd_t), | intent(in) | :: | self |
pure function cmd__get_name(self) result(res) implicit none class(cmd_t), intent(in) :: self character(:), allocatable :: res res = trim(self%name) end function cmd__get_name