pair Derived Type

type, public :: pair


Inherits

type~~pair~6~~InheritsGraph type~pair~6 pair type~intarray IntArray type~pair~6->type~intarray value

Inherited by

type~~pair~6~~InheritedByGraph type~pair~6 pair type~tvector~6 tVector type~tvector~6->type~pair~6 elements type~set2~7 set2 type~set2~7->type~tvector~6 items type~s_iterator~7 s_iterator type~s_iterator~7->type~set2~7 reference type~stringintarraymap StringIntArrayMap type~stringintarraymap->type~set2~7 tree type~stringintarraymapiterator StringIntArrayMapIterator type~stringintarraymapiterator->type~s_iterator~7 setIter type~stringintarraymapiterator->type~stringintarraymap reference

Components

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