Rolf Meyer / Mbed 2 deprecated iniparser

Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

_dictionary_ Struct Reference

_dictionary_ Struct Reference

Dictionary object. More...

#include <dictionary.h>

Data Fields

int size
 Number of entries in dictionary.
char ** val
 Storage size.
char ** key
 List of string values.
unsigned * hash
 List of string keys.

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


Field Documentation

unsigned* hash

List of string keys.

Definition at line 55 of file dictionary.h.

char** key

List of string values.

Definition at line 54 of file dictionary.h.

int size

Number of entries in dictionary.

Definition at line 52 of file dictionary.h.

char** val

Storage size.

Definition at line 53 of file dictionary.h.