Point based hash table.
More...
|
| procedure, pass(this) | init (this, size, data) |
| | Initialize a point based hash table.
|
| |
| procedure, pass(this) | set (this, key, data) |
| | Insert a point key (with data) into the hash table.
|
| |
| procedure, pass(this) | get (this, key, data) |
| | Retrive a point with key key from the hash table.
|
| |
| procedure, pass(this) | hash (this, k, c) |
| | Hash function for a point based hash table.
|
| |
| procedure, pass(this) | remove (this, key) |
| | Remove a point with key key from the hash table.
|
| |
| procedure(htable_hash), deferred, pass | hash (this, k, c) |
| |
| procedure, pass(this), public | clear (this) |
| | Clear all entries in a hash table.
|
| |
| procedure, pass(this), public | free (this) |
| | Destroy a hash table.
|
| |
| procedure, pass(this), public | num_entries (this) |
| | Return number of entries in the table.
|
| |
| procedure, pass(this), public | get_size (this) |
| | Return total size of htable.
|
| |
Definition at line 112 of file htable.f90.
◆ clear()
◆ free()
◆ get()
- Parameters
-
| [in,out] | key | Key to retrieve |
| [in,out] | data | Retrieved data |
Definition at line 116 of file htable.f90.
◆ get_size()
◆ hash() [1/2]
◆ hash() [2/2]
◆ init()
- Parameters
-
| size | Initial size of the table |
| [in,out] | data | Data to associate with key |
Definition at line 114 of file htable.f90.
◆ num_entries()
◆ remove()
◆ set()
- Parameters
-
| [in,out] | key | Table key |
| [in,out] | data | Data associated with key |
Definition at line 115 of file htable.f90.
◆ entries
◆ size
The documentation for this type was generated from the following file: