MODFLOW 6 version 6.9.0.dev0
USGS Modular Hydrologic Model
Loading...
Searching...
No Matches
memorystoremodule::memorystoretype Type Reference
Collaboration diagram for memorystoremodule::memorystoretype:
Collaboration graph

Public Member Functions

procedure iterator (this)
 An iterator used to iterate through a MemoryContainer.
procedure add (this, mt)
 Add a MemoryType to the container.
procedure get (this, name, path)
 Get a MemoryType using a key.
procedure count (this)
 The nummer of items in the container.
procedure clear (this)
 Clears the memory container.

Private Attributes

type(ptrhashtabletype) container

Detailed Description

Definition at line 13 of file MemoryStore.f90.

Member Function/Subroutine Documentation

◆ add()

procedure memorystoremodule::memorystoretype::add ( class(memorystoretype) this,
type(memorytype), intent(in), pointer mt )

The MemoryType is stored together with a key for easy lookup The key is constructed using the memory type's path and name

Definition at line 18 of file MemoryStore.f90.

◆ clear()

procedure memorystoremodule::memorystoretype::clear ( class(memorystoretype) this)

Definition at line 21 of file MemoryStore.f90.

◆ count()

procedure memorystoremodule::memorystoretype::count ( class(memorystoretype) this)

Definition at line 20 of file MemoryStore.f90.

◆ get()

procedure memorystoremodule::memorystoretype::get ( class(memorystoretype) this,
character(len=*), intent(in) name,
character(len=*), intent(in) path )

If the key can't be found the return value will be a null pointer

Definition at line 19 of file MemoryStore.f90.

◆ iterator()

procedure memorystoremodule::memorystoretype::iterator ( class(memorystoretype) this)

Definition at line 17 of file MemoryStore.f90.

Member Data Documentation

◆ container

type(ptrhashtabletype) memorystoremodule::memorystoretype::container
private

Definition at line 15 of file MemoryStore.f90.

15 type(PtrHashTableType) :: container

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