Go to the source code of this file.
| Compounds | |
| struct | inthash_t | 
| Defines | |
| #define | HASH_FAIL -1 | 
| #define | VMDEXTERNSTATIC | 
| Typedefs | |
| typedef inthash_t | inthash_t | 
| Functions | |
| void | inthash_init (inthash_t *, int) | 
| int | inthash_lookup (const inthash_t *, int) | 
| int | inthash_insert (inthash_t *, int, int) | 
| int | inthash_delete (inthash_t *, int) | 
| int | inthash_entries (inthash_t *) | 
| void | inthash_destroy (inthash_t *) | 
| char * | inthash_stats (inthash_t *) | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| hash table top level data structure | 
| 
 | ||||||||||||
| delete an int from the hash table, given its key | 
| 
 | 
| destroy the hash table completely, deallocate memory Definition at line 231 of file inthash.c. Referenced by SmallRingLinkages::clear, MoleculeList::del_all_molecules, MoleculeList::del_molecule, MoleculeList::~MoleculeList, and SmallRingLinkages::~SmallRingLinkages. | 
| 
 | 
| return the number of entries in the hash table | 
| 
 | ||||||||||||
| initialize hash table for first use Definition at line 62 of file inthash.c. Referenced by SmallRingLinkages::clear, MoleculeList::del_all_molecules, MoleculeList::del_molecule, MoleculeList::MoleculeList, rebuild_table_int, and SmallRingLinkages::SmallRingLinkages. | 
| 
 | ||||||||||||||||
| insert an int into the hash table, along with an integer key Definition at line 150 of file inthash.c. Referenced by MoleculeList::add_molecule, MoleculeList::del_molecule, and SmallRingLinkages::getLinkageEdge. | 
| 
 | ||||||||||||
| lookup a key in the hash table returning its integer key Definition at line 126 of file inthash.c. Referenced by SmallRingLinkages::getLinkageEdge, inthash_insert, and MoleculeList::mol_index_from_id. | 
| 
 | 
| print hash table vital stats | 
 1.2.14 written by Dimitri van Heesch,
 © 1997-2002
1.2.14 written by Dimitri van Heesch,
 © 1997-2002