MODFLOW 6  version 6.7.0.dev0
USGS Modular Hydrologic Model
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. More...
 
subroutine listmodule::clear (this, destroy)
 Deallocate all items in list. More...
 
integer(i4b) function listmodule::count (this)
 Return number of nodes in list. More...
 
logical function listmodule::containsobject (this, obj, isEqual)
 Determine whether the list contains the given object. More...
 
subroutine listmodule::deallocatebackward (this, fromNode)
 Deallocate fromNode and all previous nodes, and reassign firstNode. More...
 
integer(i4b) function listmodule::getindex (this, obj)
 Get the index of the given item in the list. More...
 
class(*) function, pointer listmodule::getnextitem (this)
 Get the next item in the list. More...
 
class(*) function, pointer listmodule::getpreviousitem (this)
 Get the previous item in the list. More...
 
subroutine listmodule::insertafter (this, objptr, indx)
 Insert the given item after the given index. More...
 
subroutine listmodule::insertbefore (this, objptr, targetNode)
 Insert the given item before the given node. More...
 
subroutine listmodule::next (this)
 Move the list's current node pointer and index one node forwards. More...
 
subroutine listmodule::previous (this)
 Move the list's current node pointer and index one node backwards. More...
 
subroutine listmodule::reset (this)
 Reset the list's current node pointer and index. More...
 
subroutine listmodule::remove_node_by_index (this, i, destroyValue)
 Remove the node at the given index, optionally destroying its value. More...
 
subroutine listmodule::remove_this_node (this, node, destroyValue)
 Remove the given node, optionally destroying its value. More...
 
class(*) function, pointer listmodule::get_current_item (this)
 Get a pointer to the item at the current node. More...
 
class(*) function, pointer listmodule::get_item_by_index (this, indx)
 Get a pointer to the item at the given index. More...
 
type(listnodetype) function, pointer listmodule::get_node_by_index (this, indx)
 Get the node at the given index. More...