pair Derived Type

type, public :: pair


Inherits

type~~pair~12~~InheritsGraph type~pair~12 pair type~variable Variable type~pair~12->type~variable value StringVector StringVector type~variable->StringVector dimensions type~stringattributemap StringAttributeMap type~variable->type~stringattributemap attributes type~unlimitedentity UnlimitedEntity type~variable->type~unlimitedentity const_value type~set2~11 set2 type~stringattributemap->type~set2~11 tree type~ivector~10 iVector type~set2~11->type~ivector~10 parents, lefts, rights, heights type~tvector~10 tVector type~set2~11->type~tvector~10 items

Inherited by

type~~pair~12~~InheritedByGraph type~pair~12 pair type~tvector~12 tVector type~tvector~12->type~pair~12 elements type~set2~13 set2 type~set2~13->type~tvector~12 items type~s_iterator~13 s_iterator type~s_iterator~13->type~set2~13 reference type~stringvariablemap StringVariableMap type~stringvariablemap->type~set2~13 tree type~filemetadata FileMetadata type~filemetadata->type~stringvariablemap variables type~modifymetadatamessage ModifyMetadataMessage type~modifymetadatamessage->type~stringvariablemap var_map type~stringvariablemapiterator StringVariableMapIterator type~stringvariablemapiterator->type~s_iterator~13 setIter type~stringvariablemapiterator->type~stringvariablemap reference

Components

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

Constructor

public interface pair

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

    Arguments

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