<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> <title>Resolving Typedefs: restypedef.cpp File Reference</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="tabs.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.5.5 --> <div class="navigation" id="top"> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="annotated.html"><span>Classes</span></a></li> <li class="current"><a href="files.html"><span>Files</span></a></li> </ul> </div> </div> <div class="contents"> <h1>restypedef.cpp File Reference</h1><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="struct_coord_struct.html">CoordStruct</a></td></tr> <tr><td colspan="2"><br><h2>Typedefs</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <a class="el" href="struct_coord_struct.html">CoordStruct</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="restypedef_8cpp.html#013489fb99c6a5b012db8ec66544a507">Coord</a></td></tr> <tr><td colspan="2"><br><h2>Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="struct_coord_struct.html">Coord</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="restypedef_8cpp.html#102acaaa258e937adf910898c6133545">add</a> (<a class="el" href="struct_coord_struct.html">Coord</a> c1, <a class="el" href="struct_coord_struct.html">Coord</a> c2)</td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> An example of resolving typedefs. <hr><h2>Typedef Documentation</h2> <a class="anchor" name="013489fb99c6a5b012db8ec66544a507"></a><!-- doxytag: member="restypedef.cpp::Coord" ref="013489fb99c6a5b012db8ec66544a507" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">typedef <a class="el" href="struct_coord_struct.html">CoordStruct</a> <a class="el" href="struct_coord_struct.html">Coord</a> </td> </tr> </table> </div> <div class="memdoc"> <p> Creates a type name for <a class="el" href="struct_coord_struct.html">CoordStruct</a> </div> </div><p> <hr><h2>Function Documentation</h2> <a class="anchor" name="102acaaa258e937adf910898c6133545"></a><!-- doxytag: member="restypedef.cpp::add" ref="102acaaa258e937adf910898c6133545" args="(Coord c1, Coord c2)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="struct_coord_struct.html">Coord</a> add </td> <td>(</td> <td class="paramtype"><a class="el" href="struct_coord_struct.html">Coord</a> </td> <td class="paramname"> <em>c1</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="struct_coord_struct.html">Coord</a> </td> <td class="paramname"> <em>c2</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> This function returns the addition of <em>c1</em> and <em>c2</em>, i.e: (c1.x+c2.x,c1.y+c2.y) </div> </div><p> </div> <hr size="1"><address style="text-align: right;"><small>Generated on Mon Feb 18 10:26:46 2008 for Resolving Typedefs by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address> </body> </html>