Neko 0.9.99
A portable framework for high-order spectral element flow simulations
Loading...
Searching...
No Matches
htable::htable_iter_cptr_t Type Reference

Iterator for a C pointer based hash table. More...

Inheritance diagram for htable::htable_iter_cptr_t:
Collaboration diagram for htable::htable_iter_cptr_t:

Public Member Functions

procedure, pass(thisinit (this)
 Return the current value of C pointer based hash table iterator.
 
procedure, pass(thiskey (this)
 Return the current key of a C pointer based hash table iterator.
 
final htable_iter_cptr_free (this)
 Destroy a C pointer based hash table iterator.
 
procedure, pass(this), public next (this)
 Advance the iterator to the next valid table entry.
 
procedure, pass(this), public reset (this)
 Reset an iterator.
 
procedure, pass(this), public data (this, data)
 Return the data at the current iterator position.
 

Public Attributes

class(htable_t), pointer t
 

Private Attributes

integer, private n
 

Detailed Description

Definition at line 220 of file htable.f90.

Constructor & Destructor Documentation

◆ htable_iter_cptr_free()

final htable::htable_iter_cptr_t::htable_iter_cptr_free ( type(htable_iter_cptr_t), intent(inout this)
final

Definition at line 225 of file htable.f90.

Here is the call graph for this function:

Member Function/Subroutine Documentation

◆ data()

procedure, pass(this), public htable::htable_iter_t::data ( class(htable_iter_t), intent(inout), target  this,
class(*), intent(inout data 
)
inherited
Attention
this will make a deep copy of the data...
Todo:
Remove once we figure out how to do this with value() for arbitrary data types
Parameters
[in,out]dataData to retrieve

Definition at line 162 of file htable.f90.

◆ init()

procedure, pass(this) htable::htable_iter_cptr_t::init ( class(htable_iter_cptr_t), intent(inout), target  this)

Definition at line 222 of file htable.f90.

◆ key()

procedure, pass(this) htable::htable_iter_cptr_t::key ( class(htable_iter_cptr_t), intent(inout), target  this)

Definition at line 224 of file htable.f90.

◆ next()

procedure, pass(this), public htable::htable_iter_t::next ( class(htable_iter_t), intent(inout this)
inherited

Definition at line 160 of file htable.f90.

◆ reset()

procedure, pass(this), public htable::htable_iter_t::reset ( class(htable_iter_t), intent(inout this)
inherited

Definition at line 161 of file htable.f90.

Member Data Documentation

◆ n

integer, private htable::htable_iter_t::n
privateinherited

Definition at line 157 of file htable.f90.

◆ t

class(htable_t), pointer htable::htable_iter_t::t
inherited

Definition at line 158 of file htable.f90.


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