git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@40 331e1502-861f-0410-8da2-ba01fb791d7f
113 lines
7.7 KiB
HTML
113 lines
7.7 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: eoOpSelMason< eoClass > 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>eoOpSelMason< eoClass > Class Template Reference</h1><a class="el" href="class_e_o.html">EO</a> Mason, or builder, for operator selectors.
|
||
<a href="#_details">More...</a>
|
||
<p>
|
||
<code>#include <<a class="el" href="eo_op_sel_mason_8h-source.html">eoOpSelMason.h</a>></code>
|
||
<p>
|
||
<p>Inheritance diagram for eoOpSelMason< eoClass >:
|
||
<p><center><img src="classeo_op_sel_mason.png" usemap="#eoOpSelMason< eoClass >_map" border="0" alt=""></center>
|
||
<map name="eoOpSelMason< eoClass >_map">
|
||
<area href="classeo_factory.html" alt="eoFactory< eoOpSelector< eoClass > >" shape="rect" coords="0,56,241,80">
|
||
<area href="classeo_object.html" alt="eoObject" shape="rect" coords="0,0,241,24">
|
||
</map>
|
||
<a href="classeo_op_sel_mason-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 Types</h2></td></tr>
|
||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="w0" doxytag="eoOpSelMason::vOpP"></a>
|
||
typedef std::vector< <a class="el" href="classeo_op.html">eoOp</a><<br>
|
||
eoClass > * > </td><td class="memItemRight" valign="bottom"><b>vOpP</b></td></tr>
|
||
|
||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="w1" doxytag="eoOpSelMason::MEV"></a>
|
||
typedef map< eoOpSelector<<br>
|
||
eoClass > *, vOpP > </td><td class="memItemRight" valign="bottom"><b>MEV</b></td></tr>
|
||
|
||
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
|
||
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual eoOpSelector< eoClass > * </td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_op_sel_mason.html#a0">make</a> (std::istream &_is)</td></tr>
|
||
|
||
<tr><td class="mdescLeft"> </td><td class="mdescRight">Factory methods: creates an object from an std::istream, reading from it whatever is needed to create the object. <a href="#a0"></a><br></td></tr>
|
||
<tr><td colspan="2"><div class="groupHeader">ctors and dtors</div></td></tr>
|
||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="z15_0" doxytag="eoOpSelMason::eoOpSelMason"></a>
|
||
</td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_op_sel_mason.html#z15_0">eoOpSelMason</a> (eoOpFactory< eoClass > &_opFact)</td></tr>
|
||
|
||
<tr><td class="mdescLeft"> </td><td class="mdescRight">constructor <br></td></tr>
|
||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="z15_1" doxytag="eoOpSelMason::~eoOpSelMason"></a>
|
||
virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_op_sel_mason.html#z15_1">~eoOpSelMason</a> ()</td></tr>
|
||
|
||
<tr><td class="mdescLeft"> </td><td class="mdescRight">destructor <br></td></tr>
|
||
<tr><td colspan="2"><div class="groupHeader">eoObject methods</div></td></tr>
|
||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="z17_0" doxytag="eoOpSelMason::className"></a>
|
||
virtual std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_op_sel_mason.html#z17_0">className</a> () const </td></tr>
|
||
|
||
<tr><td class="mdescLeft"> </td><td class="mdescRight">Return the class id. <br></td></tr>
|
||
<tr><td colspan="2"><br><h2>Private Attributes</h2></td></tr>
|
||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="r0" doxytag="eoOpSelMason::allocMap"></a>
|
||
map< eoOpSelector< eoClass > *,<br>
|
||
std::vector< <a class="el" href="classeo_op.html">eoOp</a>< eoClass > * > > </td><td class="memItemRight" valign="bottom"><b>allocMap</b></td></tr>
|
||
|
||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="r1" doxytag="eoOpSelMason::operatorFactory"></a>
|
||
eoOpFactory< eoClass > & </td><td class="memItemRight" valign="bottom"><b>operatorFactory</b></td></tr>
|
||
|
||
</table>
|
||
<hr><a name="_details"></a><h2>Detailed Description</h2>
|
||
<h3>template<class eoClass><br>
|
||
class eoOpSelMason< eoClass ></h3>
|
||
|
||
<a class="el" href="class_e_o.html">EO</a> Mason, or builder, for operator selectors.
|
||
<p>
|
||
A builder must allocate memory to the objects it builds, and then deallocate it when it gets out of scope
|
||
<p>
|
||
|
||
<p>
|
||
Definition at line <a class="el" href="eo_op_sel_mason_8h-source.html#l00039">39</a> of file <a class="el" href="eo_op_sel_mason_8h-source.html">eoOpSelMason.h</a>.<hr><h2>Member Function Documentation</h2>
|
||
<a class="anchor" name="a0" doxytag="eoOpSelMason::make"></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 eoClass> </td>
|
||
</tr>
|
||
<tr>
|
||
<td class="md" nowrap valign="top">virtual eoOpSelector<eoClass>* <a class="el" href="classeo_op_sel_mason.html">eoOpSelMason</a>< eoClass >::make </td>
|
||
<td class="md" valign="top">( </td>
|
||
<td class="md" nowrap valign="top">std::istream & </td>
|
||
<td class="mdname1" valign="top" nowrap> <em>_is</em> </td>
|
||
<td class="md" valign="top"> ) </td>
|
||
<td class="md" nowrap><code> [inline, virtual]</code></td>
|
||
</tr>
|
||
</table>
|
||
</td>
|
||
</tr>
|
||
</table>
|
||
<table cellspacing="5" cellpadding="0" border="0">
|
||
<tr>
|
||
<td>
|
||
|
||
</td>
|
||
<td>
|
||
|
||
<p>
|
||
Factory methods: creates an object from an std::istream, reading from it whatever is needed to create the object.
|
||
<p>
|
||
The format is opSelClassName\ rate 1 operator1\ rate 2 operator2\ ...\ Stores all operators built in a database (#allocMap#), so that somebody can destroy them later. The Mason is in charge or destroying the operators, since the built object can<61>t do it itself. The objects built must be destroyed from outside, using the #destroy# method
|
||
<p>
|
||
Implements <a class="el" href="classeo_factory.html#a0">eoFactory< eoOpSelector< eoClass > ></a>.
|
||
<p>
|
||
Definition at line <a class="el" href="eo_op_sel_mason_8h-source.html#l00065">65</a> of file <a class="el" href="eo_op_sel_mason_8h-source.html">eoOpSelMason.h</a>. </td>
|
||
</tr>
|
||
</table>
|
||
<hr>The documentation for this class was generated from the following file:<ul>
|
||
<li><a class="el" href="eo_op_sel_mason_8h-source.html">eoOpSelMason.h</a></ul>
|
||
<hr size="1"><address style="align: right;"><small>Generated on Thu Oct 19 05:06:52 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>
|