LIRC libraries
 All Data Structures Files Functions Variables Typedefs Enumerations Macros Groups Pages
_dictionary_ Struct Reference

Dictionary object. More...

#include <dictionary.h>

Data Fields

int n
int size
char ** val
char ** key
unsigned * hash

Detailed Description

Dictionary object.

nNumber of entries in the dictionary
sizeStorage size
valList of string values
keyList of string keys
hashList of hash values for keys

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 67 of file dictionary.h.

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