pair Derived Type

type, public :: pair


Inherits

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

Inherited by

type~~pair~15~~InheritedByGraph type~pair~15 pair type~tvector~15 tVector type~tvector~15->type~pair~15 elements type~set2~16 set2 type~set2~16->type~tvector~15 items type~extdataderivedmap ExtDataDerivedMap type~extdataderivedmap->type~set2~16 tree type~s_iterator~16 s_iterator type~s_iterator~16->type~set2~16 reference type~extdataconfig ExtDataConfig type~extdataconfig->type~extdataderivedmap derived_map type~extdataderivedmapiterator ExtDataDerivedMapIterator type~extdataderivedmapiterator->type~extdataderivedmap reference type~extdataderivedmapiterator->type~s_iterator~16 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