Project

General

Profile

self_vector Module

module~~self_vector~~UsesGraph module~self_vector self_vector module~self_vector_ref self_vector_ref module~self_vector_ref->module~self_vector self_object self_object self_object->module~self_vector_ref

Provides array-based, self-extending reference vectors of arbitrary type.


Interfaces

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)


Derived Types

type, public, extends(vector_ref) :: vector

Constructor

private function new_empty(verbose, initial_size)
private function new_from_array(items, verbose, initial_size)

Finalizations Procedures

final :: destroy

Type-Bound Procedures

procedure, public :: add_item

Functions

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)


Subroutines

private recursive subroutine destroy(this)

Arguments

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

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