pair Derived Type

type, public :: pair


Inherits

type~~pair~17~~InheritsGraph type~pair~17 pair type~extdataderived ExtDataDerived type~pair~17->type~extdataderived value

Inherited by

type~~pair~17~~InheritedByGraph type~pair~17 pair type~tvector~17 tVector type~tvector~17->type~pair~17 elements type~set2~18 set2 type~set2~18->type~tvector~17 items type~extdataderivedmap ExtDataDerivedMap type~extdataderivedmap->type~set2~18 tree type~s_iterator~18 s_iterator type~s_iterator~18->type~set2~18 reference type~extdataconfig ExtDataConfig type~extdataconfig->type~extdataderivedmap derived_map type~extdataderivedmapiterator ExtDataDerivedMapIterator type~extdataderivedmapiterator->type~extdataderivedmap reference type~extdataderivedmapiterator->type~s_iterator~18 setIter

Components

Type Visibility Attributes Name Initial
character(len=:), public, allocatable :: key
type(ExtDataDerived), 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(ExtDataDerived), 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