MODFLOW 6  version 6.6.0.dev0
USGS Modular Hydrologic Model
listmodule::listtype Type Reference

A generic heterogeneous doubly-linked list. More...

Collaboration diagram for listmodule::listtype:
Collaboration graph

Public Member Functions

procedure, public iterator
 
procedure, public add
 
procedure, public clear
 
procedure, public count
 
procedure, public containsobject
 
procedure, public deallocatebackward
 
procedure, public getindex
 
procedure, public getnextitem
 
procedure, public getpreviousitem
 
generic, public getitem => get_item_by_index, get_current_item
 
procedure, public insertafter
 
procedure, public insertbefore
 
procedure, public reset
 
generic, public removenode => remove_node_by_index, remove_this_node
 

Public Attributes

type(listnodetype), pointer, public firstnode => null()
 
character(len=20), public name = ' '
 

Private Member Functions

procedure, private next
 
procedure, private previous
 
procedure, private get_current_item
 
procedure, private get_item_by_index
 
procedure, private get_node_by_index
 
procedure, private remove_node_by_index
 
procedure, private remove_this_node
 

Private Attributes

type(listnodetype), pointer, private lastnode => null()
 
type(listnodetype), pointer, private currentnode => null()
 
integer(i4b), private currentnodeindex = 0
 
integer(i4b), private nodecount = 0
 

Detailed Description

Definition at line 14 of file List.f90.

Member Function/Subroutine Documentation

◆ add()

procedure, public listmodule::listtype::add

Definition at line 26 of file List.f90.

◆ clear()

procedure, public listmodule::listtype::clear

Definition at line 27 of file List.f90.

◆ containsobject()

procedure, public listmodule::listtype::containsobject

Definition at line 29 of file List.f90.

◆ count()

procedure, public listmodule::listtype::count

Definition at line 28 of file List.f90.

◆ deallocatebackward()

procedure, public listmodule::listtype::deallocatebackward

Definition at line 30 of file List.f90.

◆ get_current_item()

procedure, private listmodule::listtype::get_current_item
private

Definition at line 42 of file List.f90.

◆ get_item_by_index()

procedure, private listmodule::listtype::get_item_by_index
private

Definition at line 43 of file List.f90.

◆ get_node_by_index()

procedure, private listmodule::listtype::get_node_by_index
private

Definition at line 44 of file List.f90.

◆ getindex()

procedure, public listmodule::listtype::getindex

Definition at line 31 of file List.f90.

◆ getitem()

generic, public listmodule::listtype::getitem

Definition at line 34 of file List.f90.

Here is the call graph for this function:

◆ getnextitem()

procedure, public listmodule::listtype::getnextitem

Definition at line 32 of file List.f90.

◆ getpreviousitem()

procedure, public listmodule::listtype::getpreviousitem

Definition at line 33 of file List.f90.

◆ insertafter()

procedure, public listmodule::listtype::insertafter

Definition at line 35 of file List.f90.

◆ insertbefore()

procedure, public listmodule::listtype::insertbefore

Definition at line 36 of file List.f90.

◆ iterator()

procedure, public listmodule::listtype::iterator

Definition at line 25 of file List.f90.

◆ next()

procedure, private listmodule::listtype::next
private

Definition at line 37 of file List.f90.

◆ previous()

procedure, private listmodule::listtype::previous
private

Definition at line 38 of file List.f90.

◆ remove_node_by_index()

procedure, private listmodule::listtype::remove_node_by_index
private

Definition at line 45 of file List.f90.

◆ remove_this_node()

procedure, private listmodule::listtype::remove_this_node
private

Definition at line 46 of file List.f90.

◆ removenode()

generic, public listmodule::listtype::removenode

Definition at line 40 of file List.f90.

Here is the call graph for this function:

◆ reset()

procedure, public listmodule::listtype::reset

Definition at line 39 of file List.f90.

Member Data Documentation

◆ currentnode

type(listnodetype), pointer, private listmodule::listtype::currentnode => null()
private

Definition at line 20 of file List.f90.

20  type(ListNodeType), pointer, private :: currentNode => null()

◆ currentnodeindex

integer(i4b), private listmodule::listtype::currentnodeindex = 0
private

Definition at line 21 of file List.f90.

21  integer(I4B), private :: currentNodeIndex = 0

◆ firstnode

type(listnodetype), pointer, public listmodule::listtype::firstnode => null()

Definition at line 16 of file List.f90.

16  type(ListNodeType), pointer, public :: firstNode => null()

◆ lastnode

type(listnodetype), pointer, private listmodule::listtype::lastnode => null()
private

Definition at line 19 of file List.f90.

19  type(ListNodeType), pointer, private :: lastNode => null()

◆ name

character(len=20), public listmodule::listtype::name = ' '

Definition at line 17 of file List.f90.

17  character(len=20), public :: name = ' '

◆ nodecount

integer(i4b), private listmodule::listtype::nodecount = 0
private

Definition at line 22 of file List.f90.

22  integer(I4B), private :: nodeCount = 0

The documentation for this type was generated from the following file: