<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>Crystal Space 1.2.1: iutil/object.h File Reference (Crystal Space 1.2.1 Public API Reference)</title> <link href="tabs.css" rel="stylesheet" type="text/css"> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head><body> <table border="0" cellpadding="0" cellspacing="0" width="100%" class="head"> <tr height="59"> <td class="head" width="202" valign="bottom" style="padding-left:0;"><a href="http://www.crystalspace3d.org/"><img src="csblur.png" width="236" height="59" alt="CrystalSpace" border="0"></a></td> <td class="head"><h2>Public API Reference</h2></td> </tr> <tr height="11"> <td colspan="2" class="headshadow" valign="top" style="padding-left:0;"><img src="csblurb.png" width="236" height="11" alt="" border="0"></td> </tr> </table> <div class="content"> <!-- Generated by Doxygen 1.5.3 --> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li><a href="classes.html"><span>Classes</span></a></li> <li class="current"><a href="files.html"><span>Files</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> </ul> </div> <h1>iutil/object.h File Reference</h1>Generic object interface. <a href="#_details">More...</a> <p> <code>#include "<a class="el" href="scf__interface_8h-source.html">csutil/scf_interface.h</a>"</code><br> <code>#include "<a class="el" href="ref_8h-source.html">csutil/ref.h</a>"</code><br> <p> <a href="iutil_2object_8h-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Classes</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structiObject.html">iObject</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">This interface is an SCF interface for encapsulating <a class="el" href="classcsObject.html" title="A generic csObject class.">csObject</a>. <a href="structiObject.html#_details">More...</a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structiObjectIterator.html">iObjectIterator</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">This is an iterator for child objects of a <a class="el" href="classcsObject.html" title="A generic csObject class.">csObject</a>. <a href="structiObjectIterator.html#_details">More...</a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structiObjectNameChangeListener.html">iObjectNameChangeListener</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">A callback that you can implement to get notified of name changes in an <a class="el" href="structiObject.html" title="This interface is an SCF interface for encapsulating csObject.">iObject</a>. <a href="structiObjectNameChangeListener.html#_details">More...</a><br></td></tr> <tr><td colspan="2"><br><h2>Defines</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__util.html#g885afb1c7f016eb0766e70faff8eacf3">CS_GET_CHILD_OBJECT</a>(object, Interface)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">You can use this macro to get a child object from a <a class="el" href="classcsObject.html" title="A generic csObject class.">csObject</a>. <a href="group__util.html#g885afb1c7f016eb0766e70faff8eacf3"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__util.html#gd674b1594ed79febb9a9617763f9701b">CS_GET_FIRST_NAMED_CHILD_OBJECT</a>(object, Interface, name)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">This is the same as CS_GET_CHILD_OBJECT, but stops at the first object with the given name, even if it does not implement the requested interface. <a href="group__util.html#gd674b1594ed79febb9a9617763f9701b"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__util.html#g4fe348e850a5569c13651c6b35883bd9">CS_GET_NAMED_CHILD_OBJECT</a>(object, Interface, name)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">You can use this macro to get a child object with the given name and interface from a <a class="el" href="classcsObject.html" title="A generic csObject class.">csObject</a>. <a href="group__util.html#g4fe348e850a5569c13651c6b35883bd9"></a><br></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> Generic object interface. <p> <p>Definition in file <a class="el" href="iutil_2object_8h-source.html">object.h</a>.</p> <hr size="1"><address><small>Generated for Crystal Space 1.2.1 by <a href="http://www.doxygen.org/index.html">doxygen</a> 1.5.3 </small></address> </div></body> </html>