cmd__get_name Function

private pure function cmd__get_name(self) result(res)

Type Bound

cmd_t

Arguments

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

Return Value character(len=:), allocatable


Source Code

   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