KTH framework for Nek5000 toolboxes; testing version
0.0.1
|
Dictionary object. More...
#include <dictionary.h>
Data Fields | |
int | n |
ssize_t | size |
char ** | val |
char ** | key |
unsigned * | hash |
Dictionary object.
This object contains a list of string/string associations. Each association is identified by a unique string key. Looking up values in the dictionary is speeded up by the use of a (hopefully collision-free) hash function.
Definition at line 45 of file dictionary.h.
unsigned* _dictionary_::hash |
List of string keys
Definition at line 50 of file dictionary.h.
char** _dictionary_::key |
List of string values
Definition at line 49 of file dictionary.h.
int _dictionary_::n |
Definition at line 46 of file dictionary.h.
ssize_t _dictionary_::size |
Number of entries in dictionary
Definition at line 47 of file dictionary.h.
char** _dictionary_::val |
Storage size
Definition at line 48 of file dictionary.h.