1 |
\hypertarget{structpeak__dict__init__entry}{ |
2 |
\section{peak\_\-dict\_\-init\_\-entry Struct Reference} |
3 |
\label{structpeak__dict__init__entry}\index{peak_dict_init_entry@{peak\_\-dict\_\-init\_\-entry}} |
4 |
} |
5 |
{\tt \#include $<$dict.h$>$} |
6 |
|
7 |
|
8 |
|
9 |
\subsection{Detailed Description} |
10 |
Structure containing a key and value pair to be used at the creation of the dictionary. |
11 |
|
12 |
It's a convenience to allow application's developers to easily create dictionaries where entries are predefined in an array containing {\em peak\_\-dict\_\-init\_\-entry\/} structures. |
13 |
|
14 |
\begin{Desc} |
15 |
\item[]For example, |
16 |
|
17 |
\footnotesize\begin{verbatim} |
18 |
* static const peak_dist_init_entry init_values[] = { |
19 |
* { "key1", "value1" }, |
20 |
* { "key2", "value2" } |
21 |
* }; \end{verbatim} |
22 |
\normalsize |
23 |
\end{Desc} |
24 |
|
25 |
|
26 |
\subsection*{Data Fields} |
27 |
\begin{CompactItemize} |
28 |
\item |
29 |
\hypertarget{structpeak__dict__init__entry_o0}{ |
30 |
const void $\ast$ \hyperlink{structpeak__dict__init__entry_o0}{key}} |
31 |
\label{structpeak__dict__init__entry_o0} |
32 |
|
33 |
\begin{CompactList}\small\item\em the key \item\end{CompactList}\item |
34 |
\hypertarget{structpeak__dict__init__entry_o1}{ |
35 |
const void $\ast$ \hyperlink{structpeak__dict__init__entry_o1}{value}} |
36 |
\label{structpeak__dict__init__entry_o1} |
37 |
|
38 |
\begin{CompactList}\small\item\em the value \item\end{CompactList}\end{CompactItemize} |
39 |
|
40 |
|
41 |
The documentation for this struct was generated from the following file:\begin{CompactItemize} |
42 |
\item |
43 |
dict.h\end{CompactItemize} |