<!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::utils::AttributeList 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="a00257.html">utils</a>::<a class="el" href="a00003.html">AttributeList</a> </div> </div> <div class="contents"> <h1>frepple::utils::AttributeList Class Reference</h1><!-- doxytag: class="frepple::utils::AttributeList" --> <p>This class represents a dictionary of keyword + value pairs. <a href="#_details">More...</a></p> <p><code>#include <<a class="el" href="a00252_source.html">utils.h</a>></code></p> <div class="dynheader"> Inheritance diagram for frepple::utils::AttributeList:</div> <div class="dynsection"> <div class="center"><img src="a00556.png" border="0" usemap="#frepple_1_1utils_1_1_attribute_list_inherit__map" alt="Inheritance graph"/></div> <map name="frepple_1_1utils_1_1_attribute_list_inherit__map" id="frepple_1_1utils_1_1_attribute_list_inherit__map"> <area shape="rect" id="node3" href="a00149.html" title="This class is a wrapper around a Python dictionary." alt="" coords="5,83,216,111"/> <area shape="rect" id="node5" href="a00183.html" title="This class represents a list of XML attributes." alt="" coords="240,83,435,111"/> </map> <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div> <p><a href="a00557.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 const <a class="el" href="a00047.html">DataElement</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00003.html#afc79347bc21694cedfe218f8d023235f">get</a> (const <a class="el" href="a00096.html">Keyword</a> &) const =0</td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="a00003.html#a050543cd499296eb0de7fc6fa3e774e0">~AttributeList</a> ()</td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <p>This class represents a dictionary of keyword + value pairs. </p> <p>This abstract class can be instantiated as XML attributes, or as a Python keyword dictionary.</p> <ul> <li>XML:<br/> <buffer name="a" onhand="10" category="A" /></li> <li>Python:<br/> buffer(name="a", onhand="10", category="A") </li> </ul> <p>Definition at line <a class="el" href="a00252_source.html#l03080">3080</a> of file <a class="el" href="a00252_source.html">utils.h</a>.</p> <hr/><h2>Constructor & Destructor Documentation</h2> <a class="anchor" id="a050543cd499296eb0de7fc6fa3e774e0"></a><!-- doxytag: member="frepple::utils::AttributeList::~AttributeList" ref="a050543cd499296eb0de7fc6fa3e774e0" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual frepple::utils::AttributeList::~AttributeList </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td><code> [inline, virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Destructor. </p> <p>Definition at line <a class="el" href="a00252_source.html#l03087">3087</a> of file <a class="el" href="a00252_source.html">utils.h</a>.</p> </div> </div> <hr/><h2>Member Function Documentation</h2> <a class="anchor" id="afc79347bc21694cedfe218f8d023235f"></a><!-- doxytag: member="frepple::utils::AttributeList::get" ref="afc79347bc21694cedfe218f8d023235f" args="(const Keyword &) const =0" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual const <a class="el" href="a00047.html">DataElement</a>* frepple::utils::AttributeList::get </td> <td>(</td> <td class="paramtype">const <a class="el" href="a00096.html">Keyword</a> & </td> <td class="paramname"></td> <td> ) </td> <td> const<code> [pure virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Implemented in <a class="el" href="a00183.html#a1f168e33fe4a443097b551d2c01b6a69">frepple::utils::XMLAttributeList</a>, and <a class="el" href="a00149.html#a7deae6ec64ad0074ed4300729d1c817f">frepple::utils::PythonAttributeList</a>.</p> </div> </div> <hr/>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="a00252_source.html">utils.h</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>