IntArray Derived Type

type, public :: IntArray


Inherited by

type~~intarray~~InheritedByGraph type~intarray IntArray type~pair~6 pair type~pair~6->type~intarray value 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

Constructor

public interface IntArray

  • private function new_IntArray_1d(values, rc) result(attr)

    Arguments

    Type IntentOptional Attributes Name
    integer, intent(in) :: values(:)
    integer, intent(out), optional :: rc

    Return Value type(IntArray)

  • private function new_IntArray_1d_size(size, rc) result(attr)

    Arguments

    Type IntentOptional Attributes Name
    integer(kind=INT64), intent(in) :: size
    integer, intent(out), optional :: rc

    Return Value type(IntArray)


Type-Bound Procedures

procedure, public :: destroy

  • private subroutine destroy(this, rc)

    Arguments

    Type IntentOptional Attributes Name
    class(IntArray), intent(inout) :: this
    integer, intent(out), optional :: rc

procedure, public :: get_values

  • private function get_values(this, rc) result(values)

    Arguments

    Type IntentOptional Attributes Name
    class(IntArray), intent(in), target :: this
    integer, intent(out), optional :: rc

    Return Value integer, pointer, (:)

Source Code

   type :: IntArray
      private
      integer, pointer :: values(:)
   contains
      procedure :: get_values
      procedure :: destroy
   end type IntArray