📄 class_easylocal__parameterbox.html
字号:
<p>
Retrieves the value of the given parameter and checks whether it has the right type.<dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>name</em>
</td><td>
the name of the parameter to be retrieved </td></tr>
<tr><td valign=top><em>type</em>
</td><td>
the type of the parameter to be retrieved </td></tr>
<tr><td valign=top><em>value</em>
</td><td>
the value of the retrieved parameter </td></tr>
</table>
</dl>
<p>
Definition at line <a class="el" href="EasyLocal_cpp-source.html#l00194">194</a> of file <a class="el" href="EasyLocal_cpp-source.html">EasyLocal.cpp</a>. </td>
</tr>
</table>
<a name="a3" doxytag="easylocal::ParameterBox::Put"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
void easylocal::ParameterBox::Put (
</b></td>
<td valign="bottom"><b>
std::string <em>name</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
double <em>value</em> )
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
</td>
<td>
<p>
Adds a parameter of type double to a parameter box.<dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>name</em>
</td><td>
the name of the parameter </td></tr>
<tr><td valign=top><em>value</em>
</td><td>
the value of the parameter </td></tr>
</table>
</dl>
<p>
Definition at line <a class="el" href="EasyLocal_cpp-source.html#l00179">179</a> of file <a class="el" href="EasyLocal_cpp-source.html">EasyLocal.cpp</a>. </td>
</tr>
</table>
<a name="a2" doxytag="easylocal::ParameterBox::Put"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
void easylocal::ParameterBox::Put (
</b></td>
<td valign="bottom"><b>
std::string <em>name</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
unsigned int <em>value</em> )
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
</td>
<td>
<p>
Adds a parameter of type unsigned int to a parameter box.<dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>name</em>
</td><td>
the name of the parameter </td></tr>
<tr><td valign=top><em>value</em>
</td><td>
the value of the parameter </td></tr>
</table>
</dl>
<p>
Definition at line <a class="el" href="EasyLocal_cpp-source.html#l00166">166</a> of file <a class="el" href="EasyLocal_cpp-source.html">EasyLocal.cpp</a>. </td>
</tr>
</table>
<a name="a1" doxytag="easylocal::ParameterBox::Put"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
void easylocal::ParameterBox::Put (
</b></td>
<td valign="bottom"><b>
std::string <em>name</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
unsigned long <em>value</em> )
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
</td>
<td>
<p>
Adds a parameter of type unsigned long to a parameter box.<dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>name</em>
</td><td>
the name of the parameter </td></tr>
<tr><td valign=top><em>value</em>
</td><td>
the value of the parameter </td></tr>
</table>
</dl>
<p>
Definition at line <a class="el" href="EasyLocal_cpp-source.html#l00153">153</a> of file <a class="el" href="EasyLocal_cpp-source.html">EasyLocal.cpp</a>. </td>
</tr>
</table>
<a name="a0" doxytag="easylocal::ParameterBox::Put"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
void easylocal::ParameterBox::Put (
</b></td>
<td valign="bottom"><b>
std::string <em>name</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
std::string <em>type</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
<a class="el" href="union_easylocal__ValueType.html">ValueType</a> <em>value</em> )
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
</td>
<td>
<p>
Adds a parameter of a given type to a parameter box.<dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>name</em>
</td><td>
the name of the parameter </td></tr>
<tr><td valign=top><em>type</em>
</td><td>
the type of the parameter </td></tr>
<tr><td valign=top><em>value</em>
</td><td>
the value of the parameter </td></tr>
</table>
</dl>
<p>
Definition at line <a class="el" href="EasyLocal_cpp-source.html#l00144">144</a> of file <a class="el" href="EasyLocal_cpp-source.html">EasyLocal.cpp</a>. </td>
</tr>
</table>
<hr><h2>Member Data Documentation</h2>
<a name="n0" doxytag="easylocal::ParameterBox::parameters"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
std::list< <a class="el" href="class_easylocal__ParameterData.html">ParameterData</a> > easylocal::ParameterBox::parameters<code> [protected]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
</td>
<td>
<p>
The list of parameters contained in the parameter box.
<p>
Definition at line <a class="el" href="EasyLocal_h-source.html#l00475">475</a> of file <a class="el" href="EasyLocal_h-source.html">EasyLocal.h</a>. </td>
</tr>
</table>
<hr>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="EasyLocal_h-source.html">EasyLocal.h</a><li><a class="el" href="EasyLocal_cpp-source.html">EasyLocal.cpp</a></ul>
</td>
</tr>
<tr>
<td> </td>
<td><hr>
<span class="mark">Go to:</span> the <a href="index.html">Main Page</a> of the documentation.
</td>
</tr>
</tbody>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -