Return a string representation of the key.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(key_morton), | intent(in) | :: | self | The key. |
The key stringified.
pure function stringify(self) result(str_key)
!---------------------------------------------------------------------------------------------------------------------------------
!< Return a string representation of the key.
!---------------------------------------------------------------------------------------------------------------------------------
class(key_morton), intent(in) :: self !< The key.
character(len=:), allocatable :: str_key !< The key stringified.
!---------------------------------------------------------------------------------------------------------------------------------
!---------------------------------------------------------------------------------------------------------------------------------
str_key = trim(str(self%key))
!---------------------------------------------------------------------------------------------------------------------------------
endfunction stringify