pair Derived Type

type, public :: pair


Inherits

type~~pair~4~~InheritsGraph type~pair~4 pair type~abstractmessage AbstractMessage type~pair~4->type~abstractmessage value

Inherited by

type~~pair~4~~InheritedByGraph type~pair~4 pair type~tvector~4 tVector type~tvector~4->type~pair~4 elements type~set2~5 set2 type~set2~5->type~tvector~4 items type~integermessagemap IntegerMessageMap type~integermessagemap->type~set2~5 tree type~s_iterator~5 s_iterator type~s_iterator~5->type~set2~5 reference type~integermessagemapiterator IntegerMessageMapIterator type~integermessagemapiterator->type~integermessagemap reference type~integermessagemapiterator->type~s_iterator~5 setIter type~protocolparser ProtocolParser type~protocolparser->type~integermessagemap prototypes

Components

Type Visibility Attributes Name Initial
integer, public :: key
class(AbstractMessage), 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(AbstractMessage), 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