<!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>FAUST compiler: property< P > Class Template Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <link href="doxygen.css" rel="stylesheet" type="text/css"/> </head> <body> <!-- Generated by Doxygen 1.6.3 --> <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 class="current"><a href="annotated.html"><span>Classes</span></a></li> <li><a href="files.html"><span>Files</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> <div class="contents"> <h1>property< P > Class Template Reference</h1><!-- doxytag: class="property" --> <p><code>#include <<a class="el" href="property_8hh_source.html">property.hh</a>></code></p> <div class="dynheader"> Collaboration diagram for property< P >:</div> <div class="dynsection"> <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div> <p><a href="classproperty-members.html">List of all members.</a></p> <table border="0" cellpadding="0" cellspacing="0"> <tr><td colspan="2"><h2>Properties</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classproperty.html#a88cb9b670f93b1bfc5c86bf34509f623">__pad0__</a>: <a class="el" href="classproperty.html#a376c06e31f53a8dbb2069e409b78dc10">fKey</a>(tree(<a class="el" href="classNode.html">Node</a>(unique("property_")))) {} property (const char* keyname) : <a class="el" href="classproperty.html#a376c06e31f53a8dbb2069e409b78dc10">fKey</a>(tree(<a class="el" href="classNode.html">Node</a>(keyname))) {} void set(<a class="el" href="classCTree.html">Tree</a> t</td></tr> <tr><td colspan="2"><h2>Private Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classP.html">P</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classproperty.html#a253f89799f8b8b4e579affc9129d13d1">access</a> (<a class="el" href="classCTree.html">Tree</a> t)</td></tr> <tr><td colspan="2"><h2>Private Attributes</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classCTree.html">Tree</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classproperty.html#a376c06e31f53a8dbb2069e409b78dc10">fKey</a></td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <h3>template<class P><br/> class property< P ></h3> <p>Definition at line <a class="el" href="property_8hh_source.html#l00006">6</a> of file <a class="el" href="property_8hh_source.html">property.hh</a>.</p> <hr/><h2>Member Function Documentation</h2> <a class="anchor" id="a253f89799f8b8b4e579affc9129d13d1"></a><!-- doxytag: member="property::access" ref="a253f89799f8b8b4e579affc9129d13d1" args="(Tree t)" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<class P> </div> <table class="memname"> <tr> <td class="memname"><a class="el" href="classP.html">P</a>* <a class="el" href="classproperty.html">property</a>< <a class="el" href="classP.html">P</a> >::access </td> <td>(</td> <td class="paramtype"><a class="el" href="classCTree.html">Tree</a> </td> <td class="paramname"> <em>t</em></td> <td> ) </td> <td><code> [inline, private]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="property_8hh_source.html#l00010">10</a> of file <a class="el" href="property_8hh_source.html">property.hh</a>.</p> <p><div class="fragment"><pre class="fragment"><a name="l00011"></a>00011 { <a name="l00012"></a>00012 <a class="code" href="classCTree.html" title="A CTree = (Node x [CTree]) is a Node associated with a list of subtrees called branches...">Tree</a> d = t-><a class="code" href="classCTree.html#a902b48b83db587f14dbd31999c0f715f">getProperty</a>(<a class="code" href="classproperty.html#a376c06e31f53a8dbb2069e409b78dc10">fKey</a>); <a name="l00013"></a>00013 <span class="keywordflow">return</span> d ? (<a class="code" href="classP.html">P</a>*)(d-><a class="code" href="classCTree.html#a8de786fec095c8304b9ffa7c1c316237" title="return the content of the tree">node</a>().<a class="code" href="classNode.html#acc288789278cef4659b8c979eb4be6e4">getPointer</a>()) : 0; <a name="l00014"></a>00014 } </pre></div></p> </div> </div> <hr/><h2>Member Data Documentation</h2> <a class="anchor" id="a376c06e31f53a8dbb2069e409b78dc10"></a><!-- doxytag: member="property::fKey" ref="a376c06e31f53a8dbb2069e409b78dc10" args="" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<class P> </div> <table class="memname"> <tr> <td class="memname"><a class="el" href="classCTree.html">Tree</a> <a class="el" href="classproperty.html">property</a>< <a class="el" href="classP.html">P</a> >::<a class="el" href="classproperty.html#a376c06e31f53a8dbb2069e409b78dc10">fKey</a><code> [private]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="property_8hh_source.html#l00008">8</a> of file <a class="el" href="property_8hh_source.html">property.hh</a>.</p> <p>Referenced by <a class="el" href="property_8hh_source.html#l00010">property< Loop * >::access()</a>.</p> </div> </div> <hr/><h2>Property Documentation</h2> <a class="anchor" id="a88cb9b670f93b1bfc5c86bf34509f623"></a><!-- doxytag: member="property::__pad0__" ref="a88cb9b670f93b1bfc5c86bf34509f623" args="" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<class P> </div> <table class="memname"> <tr> <td class="memname"><a class="el" href="classproperty.html">property</a>< <a class="el" href="classP.html">P</a> >::__pad0__</td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="property_8hh_source.html#l00022">22</a> of file <a class="el" href="property_8hh_source.html">property.hh</a>.</p> </div> </div> <hr/>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="property_8hh_source.html">property.hh</a></li> </ul> </div> <hr class="footer"/><address style="text-align: right;"><small>Generated on Thu Apr 29 00:00:22 2010 for FAUST compiler by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.3 </small></address> </body> </html>