StringIntArrayMap Derived Type

type, public :: StringIntArrayMap


Inherits

type~~stringintarraymap~~InheritsGraph type~stringintarraymap StringIntArrayMap type~set2~7 set2 type~stringintarraymap->type~set2~7 tree type~ivector~6 iVector type~set2~7->type~ivector~6 parents, lefts, rights, heights type~tvector~6 tVector type~set2~7->type~tvector~6 items type~pair~6 pair type~tvector~6->type~pair~6 elements type~intarray IntArray type~pair~6->type~intarray value

Inherited by

type~~stringintarraymap~~InheritedByGraph type~stringintarraymap StringIntArrayMap type~stringintarraymapiterator StringIntArrayMapIterator type~stringintarraymapiterator->type~stringintarraymap reference

Constructor

public interface StringIntArrayMap

  • private function m_new_map_empty() result(m)

    Arguments

    None

    Return Value type(StringIntArrayMap)

  • private function m_new_map_from_pair_array(pairs) result(m)

    Arguments

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

    Return Value type(StringIntArrayMap)


Type-Bound Procedures

procedure, public :: at => m_at

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

    Arguments

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

    Return Value type(IntArray), pointer

procedure, public :: begin => m_begin

procedure, public :: clear => m_clear

  • private subroutine m_clear(this)

    Arguments

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

procedure, public :: count => m_count

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

    Arguments

    Type IntentOptional Attributes Name
    class(StringIntArrayMap), 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(StringIntArrayMap), intent(out) :: this
    class(StringIntArrayMap), intent(in) :: original

procedure, public :: empty => m_empty

  • private function m_empty(this) result(isEmpty)

    Arguments

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

    Return Value logical

procedure, public :: end => m_end

generic, public :: erase => erase_one

procedure, public :: erase_one => m_erase_one

procedure, public :: find => m_find

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

    Arguments

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

    Return Value type(StringIntArrayMapIterator)

procedure, public :: get => m_get

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

    Arguments

    Type IntentOptional Attributes Name
    class(StringIntArrayMap), intent(in), target :: this
    character(len=*) :: key
    type(IntArray), 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(StringIntArrayMap), intent(inout) :: this
    character(len=*), intent(in) :: key
    type(IntArray), intent(in) :: value

generic, public :: insert => insert_pair

  • private subroutine m_insert_pair(this, p)

    Arguments

    Type IntentOptional Attributes Name
    class(StringIntArrayMap), 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(StringIntArrayMap), intent(inout) :: this
    character(len=*), intent(in) :: key
    type(IntArray), intent(in) :: value

procedure, public :: insert_pair => m_insert_pair

  • private subroutine m_insert_pair(this, p)

    Arguments

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

    Return Value type(IntArray), pointer

procedure, public :: set => m_set

  • private subroutine m_set(this, key, value)

    Arguments

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

procedure, public :: size => m_size

  • private function m_size(this) result(size)

    Arguments

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

    Return Value integer(kind=SIZE_kind)