pair Derived Type

type, public :: pair


Inherits

type~~pair~9~~InheritsGraph type~pair~9 pair type~shmemreference ShmemReference type~pair~9->type~shmemreference value type~abstractdatareference AbstractDataReference type~shmemreference->type~abstractdatareference c_ptr c_ptr type~abstractdatareference->c_ptr base_address

Inherited by

type~~pair~9~~InheritedByGraph type~pair~9 pair type~tvector~9 tVector type~tvector~9->type~pair~9 elements type~set2~10 set2 type~set2~10->type~tvector~9 items type~integershmemreferencemap IntegerShmemReferenceMap type~integershmemreferencemap->type~set2~10 tree type~s_iterator~10 s_iterator type~s_iterator~10->type~set2~10 reference type~integershmemreferencemapiterator IntegerShmemReferenceMapIterator type~integershmemreferencemapiterator->type~integershmemreferencemap reference type~integershmemreferencemapiterator->type~s_iterator~10 setIter

Components

Type Visibility Attributes Name Initial
integer, public :: key
type(ShmemReference), public :: value

Constructor

public interface pair

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

    Arguments

    Type IntentOptional Attributes Name
    integer, intent(in) :: key
    type(ShmemReference), 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