A generic heterogeneous doubly-linked list.
More...
|
| procedure, public | iterator (this) |
| procedure, public | add (this, objptr) |
| | Append the given item to the list.
|
| procedure, public | clear (this, destroy) |
| | Deallocate all items in list.
|
| procedure, public | count (this) |
| | Return number of nodes in list.
|
| procedure, public | containsobject (this, obj, isequal) |
| | Determine whether the list contains the given object.
|
| procedure, public | deallocatebackward (this, fromnode) |
| | Deallocate fromNode and all previous nodes, and reassign firstNode.
|
| procedure, public | getindex (this, obj) |
| | Get the index of the given item in the list.
|
| procedure, public | getnextitem (this) |
| | Get the next item in the list.
|
| procedure, public | getpreviousitem (this) |
| | Get the previous item in the list.
|
| generic, public | getitem (this, indx) |
| | Get a pointer to the item at the given index.
|
| generic, public | getitem (this) |
| | Get a pointer to the item at the current node.
|
| procedure, public | insertafter (this, objptr, indx) |
| | Insert the given item after the given index.
|
| procedure, public | insertbefore (this, objptr, targetnode) |
| | Insert the given item before the given node.
|
| procedure, public | reset (this) |
| | Reset the list's current node pointer and index.
|
| generic, public | removenode (this, i, destroyvalue) |
| | Remove the node at the given index, optionally destroying its value.
|
| generic, public | removenode (this, node, destroyvalue) |
| | Remove the given node, optionally destroying its value.
|
|
| procedure, private | next (this) |
| | Move the list's current node pointer and index one node forwards.
|
| procedure, private | previous (this) |
| | Move the list's current node pointer and index one node backwards.
|
| procedure, private | get_current_item (this) |
| | Get a pointer to the item at the current node.
|
| procedure, private | get_item_by_index (this, indx) |
| | Get a pointer to the item at the given index.
|
| procedure, private | get_node_by_index (this, indx) |
| | Get the node at the given index.
|
| procedure, private | remove_node_by_index (this, i, destroyvalue) |
| | Remove the node at the given index, optionally destroying its value.
|
| procedure, private | remove_this_node (this, node, destroyvalue) |
| | Remove the given node, optionally destroying its value.
|
Definition at line 14 of file List.f90.
◆ add()
| procedure, public listmodule::listtype::add |
( |
class(listtype), intent(inout) | this, |
|
|
class(*), intent(inout), pointer | objptr ) |
◆ clear()
| procedure, public listmodule::listtype::clear |
( |
class(listtype) | this, |
|
|
logical, intent(in), optional | destroy ) |
◆ containsobject()
| procedure, public listmodule::listtype::containsobject |
( |
class(listtype), intent(inout) | this, |
|
|
class(*), pointer | obj, |
|
|
procedure(isequaliface), intent(in), optional, pointer | isequal ) |
◆ count()
| procedure, public listmodule::listtype::count |
( |
class(listtype) | this | ) |
|
◆ deallocatebackward()
| procedure, public listmodule::listtype::deallocatebackward |
( |
class(listtype), intent(inout), target | this, |
|
|
type(listnodetype), intent(inout), pointer | fromnode ) |
◆ get_current_item()
| procedure, private listmodule::listtype::get_current_item |
( |
class(listtype), intent(inout), target | this | ) |
|
|
private |
◆ get_item_by_index()
| procedure, private listmodule::listtype::get_item_by_index |
( |
class(listtype), intent(inout) | this, |
|
|
integer(i4b), intent(in) | indx ) |
|
private |
◆ get_node_by_index()
| procedure, private listmodule::listtype::get_node_by_index |
( |
class(listtype), intent(inout) | this, |
|
|
integer(i4b), intent(in) | indx ) |
|
private |
◆ getindex()
| procedure, public listmodule::listtype::getindex |
( |
class(listtype), intent(inout), target | this, |
|
|
class(*), pointer | obj ) |
◆ getitem() [1/2]
| generic, public listmodule::listtype::getitem |
( |
class(listtype), intent(inout), target | this | ) |
|
◆ getitem() [2/2]
| generic, public listmodule::listtype::getitem |
( |
class(listtype), intent(inout) | this, |
|
|
integer(i4b), intent(in) | indx ) |
◆ getnextitem()
| procedure, public listmodule::listtype::getnextitem |
( |
class(listtype), intent(inout), target | this | ) |
|
◆ getpreviousitem()
| procedure, public listmodule::listtype::getpreviousitem |
( |
class(listtype), intent(inout), target | this | ) |
|
◆ insertafter()
| procedure, public listmodule::listtype::insertafter |
( |
class(listtype), intent(inout) | this, |
|
|
class(*), intent(inout), pointer | objptr, |
|
|
integer(i4b), intent(in) | indx ) |
◆ insertbefore()
| procedure, public listmodule::listtype::insertbefore |
( |
class(listtype), intent(inout) | this, |
|
|
class(*), intent(inout), pointer | objptr, |
|
|
type(listnodetype), intent(inout), pointer | targetnode ) |
◆ iterator()
| procedure, public listmodule::listtype::iterator |
( |
class(listtype) | this | ) |
|
◆ next()
| procedure, private listmodule::listtype::next |
( |
class(listtype), intent(inout), target | this | ) |
|
|
private |
◆ previous()
| procedure, private listmodule::listtype::previous |
( |
class(listtype), intent(inout), target | this | ) |
|
|
private |
◆ remove_node_by_index()
| procedure, private listmodule::listtype::remove_node_by_index |
( |
class(listtype), intent(inout) | this, |
|
|
integer(i4b), intent(in) | i, |
|
|
logical, intent(in) | destroyvalue ) |
|
private |
◆ remove_this_node()
| procedure, private listmodule::listtype::remove_this_node |
( |
class(listtype), intent(inout) | this, |
|
|
type(listnodetype), intent(inout), pointer | node, |
|
|
logical, intent(in) | destroyvalue ) |
|
private |
◆ removenode() [1/2]
| generic, public listmodule::listtype::removenode |
( |
class(listtype), intent(inout) | this, |
|
|
integer(i4b), intent(in) | i, |
|
|
logical, intent(in) | destroyvalue ) |
◆ removenode() [2/2]
| generic, public listmodule::listtype::removenode |
( |
class(listtype), intent(inout) | this, |
|
|
type(listnodetype), intent(inout), pointer | node, |
|
|
logical, intent(in) | destroyvalue ) |
◆ reset()
| procedure, public listmodule::listtype::reset |
( |
class(listtype), intent(inout), target | this | ) |
|
◆ currentnode
| type(listnodetype), pointer, private listmodule::listtype::currentnode => null() |
|
private |
◆ currentnodeindex
| integer(i4b), private listmodule::listtype::currentnodeindex = 0 |
|
private |
◆ firstnode
| type(listnodetype), pointer, public listmodule::listtype::firstnode => null() |
◆ lastnode
| type(listnodetype), pointer, private listmodule::listtype::lastnode => null() |
|
private |
◆ name
| character(len=20), public listmodule::listtype::name = ' ' |
◆ nodecount
| integer(i4b), private listmodule::listtype::nodecount = 0 |
|
private |
The documentation for this type was generated from the following file:
- /home/runner/work/modflow6/modflow6/src/Utilities/List.f90