Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

inthash.h File Reference

#include "inthash.c"

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 *)


Define Documentation

#define HASH_FAIL   -1
 

Definition at line 36 of file inthash.h.

#define VMDEXTERNSTATIC
 

Definition at line 43 of file inthash.h.


Typedef Documentation

typedef struct inthash_t inthash_t
 

hash table top level data structure


Function Documentation

int inthash_delete inthash_t  ,
int   
 

delete an string from the hash table, given its string name

Definition at line 182 of file inthash.c.

void inthash_destroy inthash_t  
 

destroy the hash table completely, deallocate memory

Definition at line 231 of file inthash.c.

Referenced by close_lammps_read, and delete_pdbxParser.

int inthash_entries inthash_t  
 

return the number of entries in the hash table

Definition at line 222 of file inthash.c.

Referenced by read_lammps_timestep.

void inthash_init inthash_t  ,
int   
 

initialize hash table for first use

Definition at line 62 of file inthash.c.

Referenced by parseStructure, read_lammps_structure, and rebuild_table_int.

int inthash_insert inthash_t  ,
int   ,
int   
 

insert a string into the hash table, along with an integer key

Definition at line 150 of file inthash.c.

Referenced by parseStructure, read_lammps_structure, and read_lammps_timestep.

int inthash_lookup const inthash_t  ,
int   
 

lookup a string key in the hash table returning its integer key

Definition at line 126 of file inthash.c.

Referenced by inthash_insert, read_lammps_structure, read_lammps_timestep, readAngleBonds, and readRMSDBonds.

char* inthash_stats inthash_t  
 

print hash table vital stats

Definition at line 277 of file inthash.c.

Referenced by close_lammps_read.


Generated on Tue Jan 21 02:56:28 2020 for VMD Plugins (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002