<!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>OpenSceneGraph: osgIntrospection::PropertyCounter Struct 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.7.4 --> <div id="top"> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td style="padding-left: 0.5em;"> <div id="projectname">OpenSceneGraph <span id="projectnumber">2.8.4</span></div> </td> </tr> </tbody> </table> </div> <div id="navrow1" class="tabs"> <ul class="tablist"> <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 id="navrow2" class="tabs2"> <ul class="tablist"> <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="inherits.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="a01633.html">osgIntrospection</a> </li> <li class="navelem"><a class="el" href="a00589.html">PropertyCounter</a> </li> </ul> </div> </div> <div class="header"> <div class="summary"> <a href="#pub-methods">Public Member Functions</a> </div> <div class="headertitle"> <div class="title">osgIntrospection::PropertyCounter Struct Reference</div> </div> </div> <div class="contents"> <!-- doxytag: class="osgIntrospection::PropertyCounter" --> <p>Base struct for custom array property counters. <a href="a00589.html#details">More...</a></p> <div class="dynheader"> Inheritance diagram for osgIntrospection::PropertyCounter:</div> <div class="dyncontent"> <div class="center"><img src="a02483.png" border="0" usemap="#osgIntrospection_1_1PropertyCounter_inherit__map" alt="Inheritance graph"/></div> <map name="osgIntrospection_1_1PropertyCounter_inherit__map" id="osgIntrospection_1_1PropertyCounter_inherit__map"> <area shape="rect" id="node3" href="a00175.html" title="osgIntrospection::StdListReflector\< T, VT \>::Counter" alt="" coords="323,5,707,35"/><area shape="rect" id="node5" href="a00174.html" title="osgIntrospection::StdSetReflector\< T, VT \>::Counter" alt="" coords="323,59,707,88"/><area shape="rect" id="node7" href="a00173.html" title="osgIntrospection::StdVectorReflector\< T, VT \>::Counter" alt="" coords="312,112,717,141"/></map> <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div> <p><a href="a02484.html">List of all members.</a></p> <table class="memberdecls"> <tr><td colspan="2"><h2><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00589.html#a4e5521b00bf138cff28489038a05a81b">count</a> (const <a class="el" href="a01054.html">Value</a> &) const </td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="a00589.html#a63d14a3845a5e98561ce427bb5bf6801">~PropertyCounter</a> ()</td></tr> </table> <hr/><a name="details" id="details"></a><h2>Detailed Description</h2> <div class="textblock"><p>Base struct for custom array property counters. </p> <p>Descendants should override the <a class="el" href="a00589.html#a4e5521b00bf138cff28489038a05a81b">count()</a> method which must return the number of items in a chosen array property for the given instance. </p> </div><hr/><h2>Constructor & Destructor Documentation</h2> <a class="anchor" id="a63d14a3845a5e98561ce427bb5bf6801"></a><!-- doxytag: member="osgIntrospection::PropertyCounter::~PropertyCounter" ref="a63d14a3845a5e98561ce427bb5bf6801" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual osgIntrospection::PropertyCounter::~PropertyCounter </td> <td>(</td> <td class="paramname"></td><td>)</td> <td><code> [inline, virtual]</code></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <hr/><h2>Member Function Documentation</h2> <a class="anchor" id="a4e5521b00bf138cff28489038a05a81b"></a><!-- doxytag: member="osgIntrospection::PropertyCounter::count" ref="a4e5521b00bf138cff28489038a05a81b" args="(const Value &) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual int osgIntrospection::PropertyCounter::count </td> <td>(</td> <td class="paramtype">const <a class="el" href="a01054.html">Value</a> & </td> <td class="paramname"></td><td>)</td> <td> const<code> [inline, virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Reimplemented in <a class="el" href="a00173.html#a0f1cee372f3e1c1a75d7a2524e8c98d9">osgIntrospection::StdVectorReflector< T, VT >::Counter</a>, <a class="el" href="a00174.html#ad0804419d3427b04c3005b411603577d">osgIntrospection::StdSetReflector< T, VT >::Counter</a>, and <a class="el" href="a00175.html#a8eab1bfd3a7d0e782cd2d9464d8c0a0e">osgIntrospection::StdListReflector< T, VT >::Counter</a>.</p> <p>References <a class="el" href="a00586.html#a0515e4c5fabc8c1290567458a3bb5d2ea9613ca1bd5699960f07a0bf1156478c0">osgIntrospection::PropertyAccessException::COUNT</a>.</p> </div> </div> <hr/>The documentation for this struct was generated from the following file:<ul> <li>osgIntrospection/<a class="el" href="a01410.html">Attributes</a></li> </ul> </div> <hr> <table border="0"><tr><td> <img src="osg32-32.png" alt="osg logo" /> </td><td> <address><small>Generated at Tue May 31 2011 04:19:35 for the <a href="http://www.openscenegraph.org/">OpenSceneGraph</a> by <a href="http://www.doxygen.org">doxygen</a> 1.7.4.</small></address> <!-- Dimitri van Heesch's e-mail address removed, lest he get messages on the OpenSceneGraph --> </td></tr></table> </body> </html>