pair Derived Type

type, public :: pair


Inherits

type~~pair~10~~InheritsGraph type~pair~10 pair type~attribute Attribute type~pair~10->type~attribute value type~unlimitedentity UnlimitedEntity type~attribute->type~unlimitedentity

Inherited by

type~~pair~10~~InheritedByGraph type~pair~10 pair type~tvector~10 tVector type~tvector~10->type~pair~10 elements type~set2~11 set2 type~set2~11->type~tvector~10 items type~s_iterator~11 s_iterator type~s_iterator~11->type~set2~11 reference type~stringattributemap StringAttributeMap type~stringattributemap->type~set2~11 tree type~stringattributemapiterator StringAttributeMapIterator type~stringattributemapiterator->type~s_iterator~11 setIter type~stringattributemapiterator->type~stringattributemap reference type~variable Variable type~variable->type~stringattributemap attributes

Components

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