Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > 54cac1c2268db633d66eeff1b4faa585 > files > 342

frepple-doc-0.8.1-3.fc15.noarch.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>C++ API frePPLe: frepple::FlowEnd Class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
<link href="../styles.css" rel="stylesheet"  type="text/css">
</head>
<body>
<div id="container">

<div id="menubar"> 
<div id="logo" align="center">
<br/><img src='../frepple.bmp' alt="frepple" /><br/>
<a href='http://www.frepple.com/'>
<strong>a Free<br/>Production Planning<br/>Library</strong>
</a>
</div>
<div id="menu">
<br/>
<h3><a href='../Main/HomePage.html'>Main</a></h3>
<h3><a href='../UI/Main.html'>User Manual</a></h3>
<h3><a href='../Tutorial/Main.html'>Tutorial</a></h3>
<h3><a href='../Frepple/Main.html'>Reference Manual</a></h3>
<h3><a href='../Main/FAQ.html'>FAQ</a></h3>
<h3><a href='index.html'>C++ API</a></h3>
<br/>
</div>  
</div>

<div id="content">
<br/>
<!-- Generated by Doxygen 1.6.1 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li><a href="dirs.html"><span>Directories</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
      <li><a href="classes.html"><span>Class&nbsp;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
    </ul>
  </div>
  <div class="navpath"><a class="el" href="a00256.html">frepple</a>::<a class="el" href="a00066.html">FlowEnd</a>
  </div>
</div>
<div class="contents">
<h1>frepple::FlowEnd Class Reference</h1><!-- doxytag: class="frepple::FlowEnd" --><!-- doxytag: inherits="frepple::Flow" -->
<p>This class defines a material flow to/from a buffer, linked with an operation. This subclass represents a flow that is at end date of the operation.  
<a href="#_details">More...</a></p>

<p><code>#include &lt;<a class="el" href="a00218_source.html">model.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for frepple::FlowEnd:</div>
<div class="dynsection">
<div class="center"><img src="a00418.png" border="0" usemap="#frepple_1_1_flow_end_inherit__map" alt="Inheritance graph"/></div>
<map name="frepple_1_1_flow_end_inherit__map" id="frepple_1_1_flow_end_inherit__map">
<area shape="rect" id="node2" href="a00065.html" title="This class defines a material flow to/from a buffer, linked with an operation. This..." alt="" coords="695,55,788,83"/>
<area shape="rect" id="node4" href="a00120.html" title="Object is the abstract base class for the main entities." alt="" coords="396,5,532,33"/>
<area shape="rect" id="node6" href="a00151.html" title="This is a base class for all Python extension types." alt="" coords="7,5,233,33"/>
<area shape="rect" id="node8" href="a00118.html" title="A base class for the class representing the association itself." alt="" coords="284,55,644,83"/>
<area shape="rect" id="node10" href="a00170.html" title="This class needs to be implemented by all classes that implement dynamic behavior..." alt="" coords="407,106,521,134"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="a00419.html">List of all members.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00066.html#a8c07e2bd7d8320ad217237799b6f9198">FlowEnd</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00066.html#aa186c9136d196f81b2be2abab7a90e59">FlowEnd</a> (<a class="el" href="a00121.html">Operation</a> *o, <a class="el" href="a00008.html">Buffer</a> *b, double q)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="a00049.html">Date</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00066.html#aae9b46e0d88faaec4b9a9d6e76bab753">getFlowplanDate</a> (const <a class="el" href="a00068.html">FlowPlan</a> *fl) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual size_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00066.html#abb8d647ceb45fe1d33d688121a84d901">getSize</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual const <a class="el" href="a00115.html">MetaClass</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00066.html#a0d4df42aaa489791c066d55d84945143">getType</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00066.html#ac411d858c3fa38537b122f0ef50bc454">solve</a> (<a class="el" href="a00171.html">Solver</a> &amp;s, void *v=NULL) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00066.html#aff668cf48e9f1c26f917b64a238ae78b">writeElement</a> (<a class="el" href="a00189.html">XMLOutput</a> *, const <a class="el" href="a00096.html">Keyword</a> &amp;, <a class="el" href="a00257.html#a20c2c7e4c6b668e71c154ae3eb18f398">mode</a>=DEFAULT) const </td></tr>
<tr><td colspan="2"><h2>Static Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="a00115.html">MetaClass</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00066.html#a9f2203732db979d868deaa981d229836">metadata</a></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>This class defines a material flow to/from a buffer, linked with an operation. This subclass represents a flow that is at end date of the operation. </p>

<p>Definition at line <a class="el" href="a00218_source.html#l03547">3547</a> of file <a class="el" href="a00218_source.html">model.h</a>.</p>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="aa186c9136d196f81b2be2abab7a90e59"></a><!-- doxytag: member="frepple::FlowEnd::FlowEnd" ref="aa186c9136d196f81b2be2abab7a90e59" args="(Operation *o, Buffer *b, double q)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">frepple::FlowEnd::FlowEnd </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00121.html">Operation</a> *&nbsp;</td>
          <td class="paramname"> <em>o</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00008.html">Buffer</a> *&nbsp;</td>
          <td class="paramname"> <em>b</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>q</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [inline, explicit]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Constructor. </p>

<p>Definition at line <a class="el" href="a00218_source.html#l03551">3551</a> of file <a class="el" href="a00218_source.html">model.h</a>.</p>

</div>
</div>
<a class="anchor" id="a8c07e2bd7d8320ad217237799b6f9198"></a><!-- doxytag: member="frepple::FlowEnd::FlowEnd" ref="a8c07e2bd7d8320ad217237799b6f9198" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">frepple::FlowEnd::FlowEnd </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline, explicit]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>This constructor is called from the plan begin_element function. </p>

<p>Definition at line <a class="el" href="a00218_source.html#l03554">3554</a> of file <a class="el" href="a00218_source.html">model.h</a>.</p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="aae9b46e0d88faaec4b9a9d6e76bab753"></a><!-- doxytag: member="frepple::FlowEnd::getFlowplanDate" ref="aae9b46e0d88faaec4b9a9d6e76bab753" args="(const FlowPlan *fl) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00049.html">Date</a> frepple::FlowEnd::getFlowplanDate </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="a00068.html">FlowPlan</a> *&nbsp;</td>
          <td class="paramname"> <em>fl</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>This method holds the logic the compute the date of a flowplan. </p>

<p>Reimplemented from <a class="el" href="a00065.html#abb5314ce07f4b2ded0808e5cd410dbec">frepple::Flow</a>.</p>

<p>Definition at line <a class="el" href="a00218_source.html#l03669">3669</a> of file <a class="el" href="a00218_source.html">model.h</a>.</p>

</div>
</div>
<a class="anchor" id="abb8d647ceb45fe1d33d688121a84d901"></a><!-- doxytag: member="frepple::FlowEnd::getSize" ref="abb8d647ceb45fe1d33d688121a84d901" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual size_t frepple::FlowEnd::getSize </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Return the memory size of the object in bytes. </p>

<p>Reimplemented from <a class="el" href="a00065.html#a768da880aa19ebd29d29f33cf57a7e6b">frepple::Flow</a>.</p>

<p>Definition at line <a class="el" href="a00218_source.html#l03565">3565</a> of file <a class="el" href="a00218_source.html">model.h</a>.</p>

</div>
</div>
<a class="anchor" id="a0d4df42aaa489791c066d55d84945143"></a><!-- doxytag: member="frepple::FlowEnd::getType" ref="a0d4df42aaa489791c066d55d84945143" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual const <a class="el" href="a00115.html">MetaClass</a>&amp; frepple::FlowEnd::getType </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>This returns the type information on the object, a bit similar to the standard type_info information. </p>

<p>Reimplemented from <a class="el" href="a00065.html#a3f717a5154e2bea5a644444b57c9cff6">frepple::Flow</a>.</p>

<p>Definition at line <a class="el" href="a00218_source.html#l03563">3563</a> of file <a class="el" href="a00218_source.html">model.h</a>.</p>

</div>
</div>
<a class="anchor" id="ac411d858c3fa38537b122f0ef50bc454"></a><!-- doxytag: member="frepple::FlowEnd::solve" ref="ac411d858c3fa38537b122f0ef50bc454" args="(Solver &amp;s, void *v=NULL) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void frepple::FlowEnd::solve </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00171.html">Solver</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>s</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&nbsp;</td>
          <td class="paramname"> <em>v</em> = <code>NULL</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td> const<code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>This method is called by solver classes. The implementation of this class simply calls the solve method on the solver class. Using the polymorphism the solver can implement seperate methods for different plannable subclasses. </p>

<p>Reimplemented from <a class="el" href="a00065.html#ab3005ab9056a1e56be03fe89122b3001">frepple::Flow</a>.</p>

<p>Definition at line <a class="el" href="a00218_source.html#l03561">3561</a> of file <a class="el" href="a00218_source.html">model.h</a>.</p>

</div>
</div>
<a class="anchor" id="aff668cf48e9f1c26f917b64a238ae78b"></a><!-- doxytag: member="frepple::FlowEnd::writeElement" ref="aff668cf48e9f1c26f917b64a238ae78b" args="(XMLOutput *, const Keyword &amp;, mode=DEFAULT) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void frepple::FlowEnd::writeElement </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00189.html">XMLOutput</a> *&nbsp;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="a00096.html">Keyword</a> &amp;&nbsp;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00257.html#a20c2c7e4c6b668e71c154ae3eb18f398">mode</a>&nbsp;</td>
          <td class="paramname"> = <code>DEFAULT</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Called while writing the model into an XML-file. The user class should write itself out, using the IOutStream members for its "simple" members and calling writeElement recursively for any contained objects. Not all classes are expected to implement this method. In instances of such a class can be created but can't be persisted. E.g. Command </p>

<p>Reimplemented from <a class="el" href="a00065.html#a5dfbe11d919a0028ceeea0a7de2da8df">frepple::Flow</a>.</p>

<p>Definition at line <a class="el" href="a00201_source.html#l00341">341</a> of file <a class="el" href="a00201_source.html">flow.cpp</a>.</p>

</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="a9f2203732db979d868deaa981d229836"></a><!-- doxytag: member="frepple::FlowEnd::metadata" ref="a9f2203732db979d868deaa981d229836" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="a00115.html">MetaClass</a> * <a class="el" href="a00066.html#a9f2203732db979d868deaa981d229836">frepple::FlowEnd::metadata</a><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Reimplemented from <a class="el" href="a00065.html#a57cd1a48af0ab914b78bb411711c447a">frepple::Flow</a>.</p>

<p>Definition at line <a class="el" href="a00218_source.html#l03564">3564</a> of file <a class="el" href="a00218_source.html">model.h</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="a00218_source.html">model.h</a></li>
<li><a class="el" href="a00201_source.html">flow.cpp</a></li>
</ul>
</div>
<hr size="1"/><address style="align: right;"><small>Documentation generated for frePPLe by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"/></a></small></address>
</div>
</div>
</body>
</html>