StringGridMap Derived Type

type, public :: StringGridMap


Inherits

type~~stringgridmap~~InheritsGraph type~stringgridmap StringGridMap type~set2 set2 type~stringgridmap->type~set2 tree type~ivector iVector type~set2->type~ivector parents, lefts, rights, heights type~tvector tVector type~set2->type~tvector items type~pair pair type~tvector->type~pair elements ESMF_Grid ESMF_Grid type~pair->ESMF_Grid value

Inherited by

type~~stringgridmap~~InheritedByGraph type~stringgridmap StringGridMap type~stringgridmapiterator StringGridMapIterator type~stringgridmapiterator->type~stringgridmap reference

Constructor

public interface StringGridMap

  • private function m_new_map_empty() result(m)

    Arguments

    None

    Return Value type(StringGridMap)

  • private function m_new_map_from_pair_array(pairs) result(m)

    Arguments

    Type IntentOptional Attributes Name
    type(pair), intent(in) :: pairs(:)

    Return Value type(StringGridMap)


Type-Bound Procedures

procedure, public :: at => m_at

  • private function m_at(this, key) result(res)

    Arguments

    Type IntentOptional Attributes Name
    class(StringGridMap), intent(in), target :: this
    character(len=*), intent(in) :: key

    Return Value type(ESMF_Grid), pointer

procedure, public :: begin => m_begin

  • private function m_begin(this) result(iter)

    Arguments

    Type IntentOptional Attributes Name
    class(StringGridMap), intent(in), target :: this

    Return Value type(StringGridMapIterator)

procedure, public :: clear => m_clear

  • private subroutine m_clear(this)

    Arguments

    Type IntentOptional Attributes Name
    class(StringGridMap), intent(inout) :: this

procedure, public :: count => m_count

  • private function m_count(this, key) result(count)

    Arguments

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

    Return Value integer(kind=SIZE_KIND)

procedure, public :: deepCopy => m_deepCopy

  • private subroutine m_deepCopy(this, original)

    Arguments

    Type IntentOptional Attributes Name
    class(StringGridMap), intent(out) :: this
    class(StringGridMap), intent(in) :: original

procedure, public :: empty => m_empty

  • private function m_empty(this) result(isEmpty)

    Arguments

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

    Return Value logical

procedure, public :: end => m_end

  • private function m_end(this) result(iter)

    Arguments

    Type IntentOptional Attributes Name
    class(StringGridMap), intent(in), target :: this

    Return Value type(StringGridMapIterator)

generic, public :: erase => erase_one

  • private subroutine m_erase_one(this, iter)

    Arguments

    Type IntentOptional Attributes Name
    class(StringGridMap), intent(inout) :: this
    type(StringGridMapIterator), intent(inout) :: iter

procedure, public :: erase_one => m_erase_one

  • private subroutine m_erase_one(this, iter)

    Arguments

    Type IntentOptional Attributes Name
    class(StringGridMap), intent(inout) :: this
    type(StringGridMapIterator), intent(inout) :: iter

procedure, public :: find => m_find

  • private function m_find(this, key) result(iter)

    Arguments

    Type IntentOptional Attributes Name
    class(StringGridMap), intent(in), target :: this
    character(len=*), intent(in) :: key

    Return Value type(StringGridMapIterator)

procedure, public :: get => m_get

  • private function m_get(this, key, value) result(res)

    Arguments

    Type IntentOptional Attributes Name
    class(StringGridMap), intent(in), target :: this
    character(len=*) :: key
    type(ESMF_Grid), intent(out), pointer :: value

    Return Value logical

generic, public :: insert => insert_key_value

  • private subroutine m_insert_key_value(this, key, value)

    Arguments

    Type IntentOptional Attributes Name
    class(StringGridMap), intent(inout) :: this
    character(len=*), intent(in) :: key
    type(ESMF_Grid), intent(in) :: value

generic, public :: insert => insert_pair

  • private subroutine m_insert_pair(this, p)

    Arguments

    Type IntentOptional Attributes Name
    class(StringGridMap), intent(inout) :: this
    type(pair), intent(in) :: p

procedure, public :: insert_key_value => m_insert_key_value

  • private subroutine m_insert_key_value(this, key, value)

    Arguments

    Type IntentOptional Attributes Name
    class(StringGridMap), intent(inout) :: this
    character(len=*), intent(in) :: key
    type(ESMF_Grid), intent(in) :: value

procedure, public :: insert_pair => m_insert_pair

  • private subroutine m_insert_pair(this, p)

    Arguments

    Type IntentOptional Attributes Name
    class(StringGridMap), intent(inout) :: this
    type(pair), intent(in) :: p

procedure, public, nopass :: max_size => m_max_size

  • private function m_max_size() result(max_size)

    Arguments

    None

    Return Value integer(kind=SIZE_KIND)

procedure, public :: of => m_of

  • private function m_of(this, key) result(res)

    Arguments

    Type IntentOptional Attributes Name
    class(StringGridMap), intent(inout), target :: this
    character(len=*), intent(in) :: key

    Return Value type(ESMF_Grid), pointer

procedure, public :: set => m_set

  • private subroutine m_set(this, key, value)

    Arguments

    Type IntentOptional Attributes Name
    class(StringGridMap), intent(inout) :: this
    character(len=*), intent(in) :: key
    type(ESMF_Grid), intent(in) :: value

procedure, public :: size => m_size

  • private function m_size(this) result(size)

    Arguments

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

    Return Value integer(kind=SIZE_kind)