pair Derived Type

type, public :: pair


Inherits

type~~pair~7~~InheritsGraph type~pair~7 pair type~unlimitedentity UnlimitedEntity type~pair~7->type~unlimitedentity value

Inherited by

type~~pair~7~~InheritedByGraph type~pair~7 pair type~tvector~7 tVector type~tvector~7->type~pair~7 elements type~set2~8 set2 type~set2~8->type~tvector~7 items type~s_iterator~8 s_iterator type~s_iterator~8->type~set2~8 reference type~stringunlimitedentitymap StringUnlimitedEntityMap type~stringunlimitedentitymap->type~set2~8 tree type~stringunlimitedentitymapiterator StringUnlimitedEntityMapIterator type~stringunlimitedentitymapiterator->type~s_iterator~8 setIter type~stringunlimitedentitymapiterator->type~stringunlimitedentitymap reference

Components

Type Visibility Attributes Name Initial
character(len=:), public, allocatable :: key
type(UnlimitedEntity), public :: value

Constructor

public interface pair

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

    Arguments

    Type IntentOptional Attributes Name
    character(len=*), intent(in) :: key
    type(UnlimitedEntity), 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