KTH framework for Nek5000 toolboxes; testing version  0.0.1
_dictionary_ Struct Reference

Dictionary object. More...

#include <dictionary.h>

Data Fields

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

Detailed Description

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.

Field Documentation

◆ hash

unsigned* _dictionary_::hash

List of string keys

Definition at line 50 of file dictionary.h.

◆ key

char** _dictionary_::key

List of string values

Definition at line 49 of file dictionary.h.

◆ n

int _dictionary_::n

Definition at line 46 of file dictionary.h.

◆ size

ssize_t _dictionary_::size

Number of entries in dictionary

Definition at line 47 of file dictionary.h.

◆ val

char** _dictionary_::val

Storage size

Definition at line 48 of file dictionary.h.


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