StringCompositePair Derived Type

type, public :: StringCompositePair


Inherits

type~~stringcompositepair~~InheritsGraph type~stringcompositepair StringCompositePair type~abstractcomposite AbstractComposite type~stringcompositepair->type~abstractcomposite value

Inherited by

type~~stringcompositepair~~InheritedByGraph type~stringcompositepair StringCompositePair type~tvector~2 tVector type~tvector~2->type~stringcompositepair elements type~set2~3 set2 type~set2~3->type~tvector~2 items type~s_iterator~3 s_iterator type~s_iterator~3->type~set2~3 reference type~stringcompositemap StringCompositeMap type~stringcompositemap->type~set2~3 tree type~concretecomposite ConcreteComposite type~concretecomposite->type~stringcompositemap children type~stringcompositemapiterator StringCompositeMapIterator type~stringcompositemapiterator->type~s_iterator~3 setIter type~stringcompositemapiterator->type~stringcompositemap reference

Components

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

Constructor

public interface StringCompositePair

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

    Arguments

    Type IntentOptional Attributes Name
    character(len=*), intent(in) :: key
    class(AbstractComposite), intent(in) :: value

    Return Value type(StringCompositePair)


Type-Bound Procedures

generic, public :: operator(.sameKey.) => pairSameKey

  • private function pairSameKey(this, other) result(sameKey)

    Arguments

    Type IntentOptional Attributes Name
    class(StringCompositePair), intent(in) :: this
    class(StringCompositePair), intent(in) :: other

    Return Value logical

generic, public :: operator(==) => pairEqual

  • private function pairEqual(this, other) result(equal)

    Arguments

    Type IntentOptional Attributes Name
    class(StringCompositePair), intent(in) :: this
    class(StringCompositePair), intent(in) :: other

    Return Value logical

procedure, public :: pairEqual

  • private function pairEqual(this, other) result(equal)

    Arguments

    Type IntentOptional Attributes Name
    class(StringCompositePair), intent(in) :: this
    class(StringCompositePair), intent(in) :: other

    Return Value logical

procedure, public :: pairSameKey

  • private function pairSameKey(this, other) result(sameKey)

    Arguments

    Type IntentOptional Attributes Name
    class(StringCompositePair), intent(in) :: this
    class(StringCompositePair), intent(in) :: other

    Return Value logical