pair Derived Type

type, public :: pair


Inherits

type~~pair~8~~InheritsGraph type~pair~8 pair type~abstractrequesthandle AbstractRequestHandle type~pair~8->type~abstractrequesthandle value type~abstractdatareference AbstractDataReference type~abstractrequesthandle->type~abstractdatareference data_reference c_ptr c_ptr type~abstractdatareference->c_ptr base_address

Inherited by

type~~pair~8~~InheritedByGraph type~pair~8 pair type~tvector~8 tVector type~tvector~8->type~pair~8 elements type~set2~9 set2 type~set2~9->type~tvector~8 items type~integerrequestmap IntegerRequestMap type~integerrequestmap->type~set2~9 tree type~s_iterator~9 s_iterator type~s_iterator~9->type~set2~9 reference type~basethread BaseThread type~basethread->type~integerrequestmap open_requests type~integerrequestmapiterator IntegerRequestMapIterator type~integerrequestmapiterator->type~integerrequestmap reference type~integerrequestmapiterator->type~s_iterator~9 setIter

Components

Type Visibility Attributes Name Initial
integer, public :: key
class(AbstractRequestHandle), public, allocatable :: value

Constructor

public interface pair

  • private function m_newPair(key, value) result(p)

    Arguments

    Type IntentOptional Attributes Name
    integer, intent(in) :: key
    class(AbstractRequestHandle), intent(in) :: value

    Return Value type(pair)


Type-Bound Procedures

generic, public :: operator(.sameKey.) => pairSameKey

  • private function pairSameKey(this, other) result(sameKey)

    Arguments

    Type IntentOptional Attributes Name
    class(pair), intent(in) :: this
    class(pair), intent(in) :: other

    Return Value logical

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

  • private function pairEqual(this, other) result(equal)

    Arguments

    Type IntentOptional Attributes Name
    class(pair), intent(in) :: this
    class(pair), intent(in) :: other

    Return Value logical

procedure, public :: pairEqual

  • private function pairEqual(this, other) result(equal)

    Arguments

    Type IntentOptional Attributes Name
    class(pair), intent(in) :: this
    class(pair), intent(in) :: other

    Return Value logical

procedure, public :: pairSameKey

  • private function pairSameKey(this, other) result(sameKey)

    Arguments

    Type IntentOptional Attributes Name
    class(pair), intent(in) :: this
    class(pair), intent(in) :: other

    Return Value logical