pair Derived Type

type, public :: pair


Inherits

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

Inherited by

type~~pair~9~~InheritedByGraph type~pair~9 pair type~tvector~9 tVector type~tvector~9->type~pair~9 elements type~set2~10 set2 type~set2~10->type~tvector~9 items type~s_iterator~10 s_iterator type~s_iterator~10->type~set2~10 reference type~stringattributemap StringAttributeMap type~stringattributemap->type~set2~10 tree type~stringattributemapiterator StringAttributeMapIterator type~stringattributemapiterator->type~s_iterator~10 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