pair Derived Type

type, public :: pair


Inherits

type~~pair~3~~InheritsGraph type~pair~3 pair type~abstractsocket AbstractSocket type~pair~3->type~abstractsocket value

Inherited by

type~~pair~3~~InheritedByGraph type~pair~3 pair type~tvector~3 tVector type~tvector~3->type~pair~3 elements type~set2~4 set2 type~set2~4->type~tvector~3 items type~integersocketmap IntegerSocketMap type~integersocketmap->type~set2~4 tree type~s_iterator~4 s_iterator type~s_iterator~4->type~set2~4 reference type~integersocketmapiterator IntegerSocketMapIterator type~integersocketmapiterator->type~integersocketmap reference type~integersocketmapiterator->type~s_iterator~4 setIter

Components

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