fhash_key_char_t Derived Type

type, public, extends(fhash_key_t) :: fhash_key_char_t

Hash table key container


Contents


Type-Bound Procedures

generic, public :: operator(==) => equals

  • private pure function key_equal_int64_1d(key1, key2) result(keys_equal)

    Check if two keys are equal

    Arguments

    Type IntentOptional Attributes Name
    class(fhash_key_int64_1d_t), intent(in) :: key1
    class(fhash_key_t), intent(in) :: key2

    Return Value logical

procedure, public, pass :: hash => key_hash_char

  • private pure function key_hash_char(key) result(hash)

    Generate hash of key

    Arguments

    Type IntentOptional Attributes Name
    class(fhash_key_char_t), intent(in) :: key

    Return Value integer(kind=int64)

procedure, public, pass :: equals => key_equal_char

  • private pure function key_equal_char(key1, key2) result(keys_equal)

    Check if two keys are equal

    Arguments

    Type IntentOptional Attributes Name
    class(fhash_key_char_t), intent(in) :: key1
    class(fhash_key_t), intent(in) :: key2

    Return Value logical

procedure, public, pass :: to_string => key_char_to_string

  • private function key_char_to_string(key) result(str)

    Generate string representation of hash

    Arguments

    Type IntentOptional Attributes Name
    class(fhash_key_char_t), intent(in) :: key

    Return Value character(len=:), allocatable