<!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::ResourceDefault 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 Page</span></a></li> <li><a href="pages.html"><span>Related 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 List</span></a></li> <li><a href="classes.html"><span>Class Index</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> <div class="navpath"><a class="el" href="a00256.html">frepple</a>::<a class="el" href="a00157.html">ResourceDefault</a> </div> </div> <div class="contents"> <h1>frepple::ResourceDefault Class Reference</h1><!-- doxytag: class="frepple::ResourceDefault" --><!-- doxytag: inherits="frepple::Resource" --> <p>This class is the default implementation of the abstract <a class="el" href="a00156.html" title="This class represents a workcentre, a physical or logical representation of capacity...">Resource</a> class. <a href="#_details">More...</a></p> <p><code>#include <<a class="el" href="a00218_source.html">model.h</a>></code></p> <div class="dynheader"> Inheritance diagram for frepple::ResourceDefault:</div> <div class="dynsection"> <div class="center"><img src="a00517.png" border="0" usemap="#frepple_1_1_resource_default_inherit__map" alt="Inheritance graph"/></div> <map name="frepple_1_1_resource_default_inherit__map" id="frepple_1_1_resource_default_inherit__map"> <area shape="rect" id="node2" href="a00156.html" title="This class represents a workcentre, a physical or logical representation of capacity..." alt="" coords="1109,131,1232,159"/> <area shape="rect" id="node4" href="a00083.html" title="frepple::utils::HasHierarchy\< Resource \>" alt="" coords="805,55,1061,83"/> <area shape="rect" id="node6" href="a00085.html" title="frepple::utils::HasName\< Resource \>" alt="" coords="521,55,756,83"/> <area shape="rect" id="node8" href="a00119.html" title="Class NonCopyable is a base class. Derive your own class from it when you want to..." alt="" coords="289,5,465,33"/> <area shape="rect" id="node10" href="a00182.html" title="This class represents a node in the tree." alt="" coords="284,55,471,83"/> <area shape="rect" id="node12" href="a00120.html" title="Object is the abstract base class for the main entities." alt="" coords="309,106,445,134"/> <area shape="rect" id="node14" href="a00151.html" title="This is a base class for all Python extension types." alt="" coords="7,106,233,134"/> <area shape="rect" id="node16" href="a00084.html" title="The purpose of this class is to compute the levels of all buffers, operations and..." alt="" coords="873,106,993,134"/> <area shape="rect" id="node18" href="a00133.html" title="This class needs to be implemented by all classes that implement dynamic behavior..." alt="" coords="872,157,995,185"/> <area shape="rect" id="node20" href="a00086.html" title="Classes that keep track of problem conditions need to implement this class." alt="" coords="567,131,711,159"/> <area shape="rect" id="node22" href="a00170.html" title="This class needs to be implemented by all classes that implement dynamic behavior..." alt="" coords="581,182,696,210"/> <area shape="rect" id="node24" href="a00082.html" title="This is a decorator class for the main objects." alt="" coords="840,207,1027,235"/> </map> <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div> <p><a href="a00518.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">virtual size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="a00157.html#a1148a0ccb3cc8750115528d16d9e87ce">getSize</a> () const </td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual const <a class="el" href="a00115.html">MetaClass</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="a00157.html#aab35c196a0582244a935c988fc87712a">getType</a> () const </td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00157.html#a213d6b36111e1418f40c4b638c8eb8aa">ResourceDefault</a> (const string &str)</td></tr> <tr><td colspan="2"><h2>Static Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">static int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00157.html#a1edd19a82fa1940a725c229c2ddeda42">initialize</a> ()</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> * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00157.html#a374498bb40845e98eee8fd17d095c1c6">metadata</a></td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <p>This class is the default implementation of the abstract <a class="el" href="a00156.html" title="This class represents a workcentre, a physical or logical representation of capacity...">Resource</a> class. </p> <p>Definition at line <a class="el" href="a00218_source.html#l04028">4028</a> of file <a class="el" href="a00218_source.html">model.h</a>.</p> <hr/><h2>Constructor & Destructor Documentation</h2> <a class="anchor" id="a213d6b36111e1418f40c4b638c8eb8aa"></a><!-- doxytag: member="frepple::ResourceDefault::ResourceDefault" ref="a213d6b36111e1418f40c4b638c8eb8aa" args="(const string &str)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">frepple::ResourceDefault::ResourceDefault </td> <td>(</td> <td class="paramtype">const string & </td> <td class="paramname"> <em>str</em></td> <td> ) </td> <td><code> [inline, explicit]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="a00218_source.html#l04031">4031</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="a1148a0ccb3cc8750115528d16d9e87ce"></a><!-- doxytag: member="frepple::ResourceDefault::getSize" ref="a1148a0ccb3cc8750115528d16d9e87ce" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual size_t frepple::ResourceDefault::getSize </td> <td>(</td> <td class="paramname"></td> <td> ) </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>Implements <a class="el" href="a00120.html#ae381655a0e700d1e0d9ef72379792872">frepple::utils::Object</a>.</p> <p>Definition at line <a class="el" href="a00218_source.html#l04034">4034</a> of file <a class="el" href="a00218_source.html">model.h</a>.</p> </div> </div> <a class="anchor" id="aab35c196a0582244a935c988fc87712a"></a><!-- doxytag: member="frepple::ResourceDefault::getType" ref="aab35c196a0582244a935c988fc87712a" 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>& frepple::ResourceDefault::getType </td> <td>(</td> <td class="paramname"></td> <td> ) </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="a00156.html#aae14ef25d6c550a8b70e9aaaedb068bc">frepple::Resource</a>.</p> <p>Definition at line <a class="el" href="a00218_source.html#l04032">4032</a> of file <a class="el" href="a00218_source.html">model.h</a>.</p> </div> </div> <a class="anchor" id="a1edd19a82fa1940a725c229c2ddeda42"></a><!-- doxytag: member="frepple::ResourceDefault::initialize" ref="a1edd19a82fa1940a725c229c2ddeda42" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int frepple::ResourceDefault::initialize </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Initialize the class. </p> <p>Reimplemented from <a class="el" href="a00156.html#a924410474c6eb748927eada72ac6b574">frepple::Resource</a>.</p> <p>Definition at line <a class="el" href="a00235_source.html#l00050">50</a> of file <a class="el" href="a00235_source.html">resource.cpp</a>.</p> </div> </div> <hr/><h2>Member Data Documentation</h2> <a class="anchor" id="a374498bb40845e98eee8fd17d095c1c6"></a><!-- doxytag: member="frepple::ResourceDefault::metadata" ref="a374498bb40845e98eee8fd17d095c1c6" 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="a00157.html#a374498bb40845e98eee8fd17d095c1c6">frepple::ResourceDefault::metadata</a><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Reimplemented from <a class="el" href="a00156.html#a1be825fa478f96d8d3a67d18b50eace6">frepple::Resource</a>.</p> <p>Definition at line <a class="el" href="a00218_source.html#l04033">4033</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="a00235_source.html">resource.cpp</a></li> </ul> </div> <hr size="1"/><address style="align: right;"><small>Documentation generated for frePPLe by <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>