| 1 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
| 2 |
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> |
| 3 |
<title>PEAK Library: peak_dict_init_entry struct Reference</title> |
| 4 |
<link href="doxygen.css" rel="stylesheet" type="text/css"> |
| 5 |
</head><body> |
| 6 |
<!-- Generated by Doxygen 1.3.5 --> |
| 7 |
<div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="modules.html">Modules</a> | <a class="qindex" href="annotated.html">Data Structures</a> | <a class="qindex" href="functions.html">Data Fields</a></div> |
| 8 |
<h1>peak_dict_init_entry Struct Reference<br> |
| 9 |
<small> |
| 10 |
[<a class="el" href="group__dict.html">Dictionary</a>]</small> |
| 11 |
</h1><code>#include <dict.h></code> |
| 12 |
<p> |
| 13 |
<hr><a name="_details"></a><h2>Detailed Description</h2> |
| 14 |
Structure containing a key and value pair to be used at the creation of the dictionary. |
| 15 |
<p> |
| 16 |
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</em> structures.<p> |
| 17 |
<dl compact><dt><b></b></dt><dd>For example, <div class="fragment"><pre> |
| 18 |
* static const peak_dist_init_entry init_values[] = { |
| 19 |
* { "key1", "value1" }, |
| 20 |
* { "key2", "value2" } |
| 21 |
* }; </pre></div></dd></dl> |
| 22 |
|
| 23 |
<p> |
| 24 |
<table border=0 cellpadding=0 cellspacing=0> |
| 25 |
<tr><td></td></tr> |
| 26 |
<tr><td colspan=2><br><h2>Data Fields</h2></td></tr> |
| 27 |
<tr><td class="memItemLeft" nowrap align=right valign=top><a class="anchor" name="o0" doxytag="peak_dict_init_entry::key" ></a> |
| 28 |
const void * </td><td class="memItemRight" valign=bottom><a class="el" href="structpeak__dict__init__entry.html#o0">key</a></td></tr> |
| 29 |
|
| 30 |
<tr><td class="mdescLeft"> </td><td class="mdescRight">the key <br><br></td></tr> |
| 31 |
<tr><td class="memItemLeft" nowrap align=right valign=top><a class="anchor" name="o1" doxytag="peak_dict_init_entry::value" ></a> |
| 32 |
const void * </td><td class="memItemRight" valign=bottom><a class="el" href="structpeak__dict__init__entry.html#o1">value</a></td></tr> |
| 33 |
|
| 34 |
<tr><td class="mdescLeft"> </td><td class="mdescRight">the value <br><br></td></tr> |
| 35 |
</table> |
| 36 |
<hr>The documentation for this struct was generated from the following file:<ul> |
| 37 |
<li>dict.h</ul> |
| 38 |
<hr size="1"><address style="align: right;"><small>Generated on Sat Jan 17 21:41:53 2004 for the PEAK Library by |
| 39 |
<a href="http://www.doxygen.org/index.html"> |
| 40 |
<img src="doxygen.png" alt="doxygen" align="middle" border="0" > |
| 41 |
</a></small> <a href="http://sourceforge.net"><img src="http://sourceforge.net/sflogo.php?group_id=98146&type=1" width="88" height="31" align="middle" border="0" alt="SourceForge.net Logo" /></a></address> |
| 42 |
</body> |
| 43 |
</html> |
| 44 |
|