pair Derived Type

type, public :: pair


Inherits

type~~pair~11~~InheritsGraph type~pair~11 pair type~variable Variable type~pair~11->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~10 set2 type~stringattributemap->type~set2~10 tree type~ivector~9 iVector type~set2~10->type~ivector~9 parents, lefts, rights, heights type~tvector~9 tVector type~set2~10->type~tvector~9 items

Inherited by

type~~pair~11~~InheritedByGraph type~pair~11 pair type~tvector~11 tVector type~tvector~11->type~pair~11 elements type~set2~12 set2 type~set2~12->type~tvector~11 items type~s_iterator~12 s_iterator type~s_iterator~12->type~set2~12 reference type~stringvariablemap StringVariableMap type~stringvariablemap->type~set2~12 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~12 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