Project

General

Profile

vector Derived Type

type, public, extends(vector_ref) :: vector

type~~vector~~InheritsGraph type~vector vector vector_ref vector_ref vector_ref->type~vector


Constructor

private interface vector

  • private function new_empty(verbose, initial_size) result(this)

    Arguments

    Type IntentOptional AttributesName
    logical, intent(in), optional :: verbose
    integer, intent(in), optional :: initial_size

    Return Value type(vector)

  • private function new_from_array(items, verbose, initial_size) result(this)

    Arguments

    Type IntentOptional AttributesName
    class(*), intent(in), target:: items(:)
    logical, intent(in), optional :: verbose
    integer, intent(in), optional :: initial_size

    Return Value type(vector)


Finalization Procedures

final :: destroy

private recursive subroutine destroy(this)

Arguments

Type IntentOptional AttributesName
type(vector), intent(inout) :: this

Type-Bound Procedures

procedure, public :: add_item

  • private recursive subroutine add_item(this, new_stuff)

    Arguments

    Type IntentOptional AttributesName
    class(vector), intent(inout) :: this
    class(*), intent(in), target:: new_stuff

© 2016
self was developed by
Documentation generated by FORD