MODFLOW 6 version 6.9.0.dev0
USGS Modular Hydrologic Model
Loading...
Searching...
No Matches
List.f90 File Reference

Go to the source code of this file.

Data Types

type  listmodule::listtype
 A generic heterogeneous doubly-linked list. More...
interface  listmodule::isequaliface

Modules

module  listmodule

Functions/Subroutines

class(iteratortype) function, allocatable listmodule::iterator (this)
subroutine listmodule::add (this, objptr)
 Append the given item to the list.
subroutine listmodule::clear (this, destroy)
 Deallocate all items in list.
integer(i4b) function listmodule::count (this)
 Return number of nodes in list.
logical function listmodule::containsobject (this, obj, isequal)
 Determine whether the list contains the given object.
subroutine listmodule::deallocatebackward (this, fromnode)
 Deallocate fromNode and all previous nodes, and reassign firstNode.
integer(i4b) function listmodule::getindex (this, obj)
 Get the index of the given item in the list.
class(*) function, pointer listmodule::getnextitem (this)
 Get the next item in the list.
class(*) function, pointer listmodule::getpreviousitem (this)
 Get the previous item in the list.
subroutine listmodule::insertafter (this, objptr, indx)
 Insert the given item after the given index.
subroutine listmodule::insertbefore (this, objptr, targetnode)
 Insert the given item before the given node.
subroutine listmodule::next (this)
 Move the list's current node pointer and index one node forwards.
subroutine listmodule::previous (this)
 Move the list's current node pointer and index one node backwards.
subroutine listmodule::reset (this)
 Reset the list's current node pointer and index.
subroutine listmodule::remove_node_by_index (this, i, destroyvalue)
 Remove the node at the given index, optionally destroying its value.
subroutine listmodule::remove_this_node (this, node, destroyvalue)
 Remove the given node, optionally destroying its value.
class(*) function, pointer listmodule::get_current_item (this)
 Get a pointer to the item at the current node.
class(*) function, pointer listmodule::get_item_by_index (this, indx)
 Get a pointer to the item at the given index.
type(listnodetype) function, pointer listmodule::get_node_by_index (this, indx)
 Get the node at the given index.