git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@40 331e1502-861f-0410-8da2-ba01fb791d7f
216 lines
12 KiB
HTML
216 lines
12 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
|
|
<title>EO: eoValueParam< ValueType > Class Template Reference</title>
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
|
</head><body>
|
|
<!-- Generated by Doxygen 1.3.9.1 -->
|
|
<div class="qindex"> <form class="search" action="search.php" method="get">
|
|
<a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="modules.html">Modules</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindex" href="pages.html">Related Pages</a> | <span class="search"><u>S</u>earch for <input class="search" type="text" name="query" value="" size="20" accesskey="s"/></span></form></div>
|
|
<h1>eoValueParam< ValueType > Class Template Reference</h1>eoValueParam<ValueType>: templatized derivation of <a class="el" href="classeo_param.html">eoParam</a>.
|
|
<a href="#_details">More...</a>
|
|
<p>
|
|
<code>#include <<a class="el" href="eo_param_8h-source.html">eoParam.h</a>></code>
|
|
<p>
|
|
<p>Inheritance diagram for eoValueParam< ValueType >:
|
|
<p><center><img src="classeo_value_param.png" usemap="#eoValueParam< ValueType >_map" border="0" alt=""></center>
|
|
<map name="eoValueParam< ValueType >_map">
|
|
<area href="classeo_param.html" alt="eoParam" shape="rect" coords="0,0,219,24">
|
|
<area href="classeo_perf2_worth.html" alt="eoPerf2Worth< EOT, EOT::Fitness >" shape="rect" coords="0,112,219,136">
|
|
<area href="classeo_no_perf2_worth.html" alt="eoNoPerf2Worth< EOT >" shape="rect" coords="0,168,219,192">
|
|
</map>
|
|
<a href="classeo_value_param-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
|
|
<tr><td></td></tr>
|
|
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a0" doxytag="eoValueParam::eoValueParam"></a>
|
|
</td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_value_param.html#a0">eoValueParam</a> (void)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Construct a Param. <br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_value_param.html#a1">eoValueParam</a> (ValueType _defaultValue, std::string _longName, std::string _description="No description", char _shortHand=0, bool _required=false)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Construct a Param. <a href="#a1"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">ValueType & </td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_value_param.html#a2">value</a> ()</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Parameter value. <a href="#a2"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">const ValueType & </td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_value_param.html#a3">value</a> () const </td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Parameter value. <a href="#a3"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a4" doxytag="eoValueParam::getValue"></a>
|
|
std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_value_param.html#a4">getValue</a> (void) const </td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Pure virtual function to get the value out. <br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a5" doxytag="eoValueParam::setValue"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_value_param.html#a5">setValue</a> (const std::string &_value)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Pure virtual function to set the value. <br></td></tr>
|
|
<tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="p0" doxytag="eoValueParam::repValue"></a>
|
|
ValueType </td><td class="memItemRight" valign="bottom"><b>repValue</b></td></tr>
|
|
|
|
</table>
|
|
<hr><a name="_details"></a><h2>Detailed Description</h2>
|
|
<h3>template<class ValueType><br>
|
|
class eoValueParam< ValueType ></h3>
|
|
|
|
eoValueParam<ValueType>: templatized derivation of <a class="el" href="classeo_param.html">eoParam</a>.
|
|
<p>
|
|
Can be used to contain any scalar value type. It makes use of std::strstream to get and set values. This should be changed to std::stringstream when that class is available in g++.<p>
|
|
Note also that there is a template specialization for std::pair<double, double> and for std::vector<double>. These stream their contents delimited with whitespace.
|
|
<p>
|
|
|
|
<p>
|
|
Definition at line <a class="el" href="eo_param_8h-source.html#l00136">136</a> of file <a class="el" href="eo_param_8h-source.html">eoParam.h</a>.<hr><h2>Constructor & Destructor Documentation</h2>
|
|
<a class="anchor" name="a1" doxytag="eoValueParam::eoValueParam"></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" colspan="4">
|
|
template<class ValueType> </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap valign="top"><a class="el" href="classeo_value_param.html">eoValueParam</a>< ValueType >::<a class="el" href="classeo_value_param.html">eoValueParam</a> </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">ValueType </td>
|
|
<td class="mdname" nowrap> <em>_defaultValue</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap>std::string </td>
|
|
<td class="mdname" nowrap> <em>_longName</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap>std::string </td>
|
|
<td class="mdname" nowrap> <em>_description</em> = <code>"No description"</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap>char </td>
|
|
<td class="mdname" nowrap> <em>_shortHand</em> = <code>0</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap>bool </td>
|
|
<td class="mdname" nowrap> <em>_required</em> = <code>false</code></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing="5" cellpadding="0" border="0">
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
Construct a Param.
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em>_defaultValue</em> </td><td>The default value </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>_longName</em> </td><td>Long name of the argument </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>_description</em> </td><td>Description of the parameter. What is useful for. </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>_shortName</em> </td><td>Short name of the argument (Optional) </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>_required</em> </td><td>If it is a necessary parameter or not </td></tr>
|
|
</table>
|
|
</dl>
|
|
|
|
<p>
|
|
Definition at line <a class="el" href="eo_param_8h-source.html#l00151">151</a> of file <a class="el" href="eo_param_8h-source.html">eoParam.h</a>. </td>
|
|
</tr>
|
|
</table>
|
|
<hr><h2>Member Function Documentation</h2>
|
|
<a class="anchor" name="a2" doxytag="eoValueParam::value"></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" colspan="4">
|
|
template<class ValueType> </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap valign="top">ValueType& <a class="el" href="classeo_value_param.html">eoValueParam</a>< ValueType >::value </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="mdname1" valign="top" nowrap> </td>
|
|
<td class="md" valign="top"> ) </td>
|
|
<td class="md" nowrap><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing="5" cellpadding="0" border="0">
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
Parameter value.
|
|
<p>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>parameter value </dd></dl>
|
|
|
|
<p>
|
|
Definition at line <a class="el" href="eo_param_8h-source.html#l00166">166</a> of file <a class="el" href="eo_param_8h-source.html">eoParam.h</a>.
|
|
<p>
|
|
Referenced by <a class="el" href="eo_perf2_worth_8h-source.html#l00237">eoNoPerf2Worth< EOT >::operator()()</a>, <a class="el" href="eo_file_snapshot_8h-source.html#l00133">eoFileSnapshot::operator()()</a>, <a class="el" href="eo_f_d_c_stat_8h-source.html#l00059">eoFDCStat< EOT >::operator()()</a>, and <a class="el" href="eo_parser_8h-source.html#l00234">eoParser::setStopOnUnknownParam()</a>. </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a3" doxytag="eoValueParam::value"></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" colspan="4">
|
|
template<class ValueType> </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap valign="top">const ValueType& <a class="el" href="classeo_value_param.html">eoValueParam</a>< ValueType >::value </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="mdname1" valign="top" nowrap> </td>
|
|
<td class="md" valign="top"> ) </td>
|
|
<td class="md" nowrap> const<code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing="5" cellpadding="0" border="0">
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
Parameter value.
|
|
<p>
|
|
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.<p>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>parameter value </dd></dl>
|
|
|
|
<p>
|
|
Definition at line <a class="el" href="eo_param_8h-source.html#l00175">175</a> of file <a class="el" href="eo_param_8h-source.html">eoParam.h</a>. </td>
|
|
</tr>
|
|
</table>
|
|
<hr>The documentation for this class was generated from the following file:<ul>
|
|
<li><a class="el" href="eo_param_8h-source.html">eoParam.h</a></ul>
|
|
<hr size="1"><address style="align: right;"><small>Generated on Thu Oct 19 05:06:58 2006 for EO by
|
|
<a href="http://www.doxygen.org/index.html">
|
|
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.3.9.1 </small></address>
|
|
</body>
|
|
</html>
|