<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> <title>PolyBoRi: polybori::PBoRiGenericError< ErrorCode > 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.5.9 --> <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> </ul> </div> <div class="tabs"> <ul> <li><a href="annotated.html"><span>Class List</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="namespacepolybori.html">polybori</a>::<a class="el" href="classpolybori_1_1PBoRiGenericError.html">PBoRiGenericError</a> </div> </div> <div class="contents"> <h1>polybori::PBoRiGenericError< ErrorCode > Class Template Reference</h1><!-- doxytag: class="polybori::PBoRiGenericError" --><!-- doxytag: inherits="polybori::PBoRiError" -->This template class is used for polybori's exception handling. <a href="#_details">More...</a> <p> <code>#include <<a class="el" href="PBoRiGenericError_8h_source.html">PBoRiGenericError.h</a>></code> <p> <div class="dynheader"> Inheritance diagram for polybori::PBoRiGenericError< ErrorCode >:</div> <div class="dynsection"> <p><center><img src="classpolybori_1_1PBoRiGenericError.png" usemap="#polybori::PBoRiGenericError< ErrorCode >_map" border="0" alt=""></center> <map name="polybori::PBoRiGenericError< ErrorCode >_map"> <area href="classpolybori_1_1PBoRiError.html" alt="polybori::PBoRiError" shape="rect" coords="0,0,257,24"> </map> </div> <p> <a href="classpolybori_1_1PBoRiGenericError-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Public Types</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">enum </td><td class="memItemRight" valign="bottom">{ <a class="el" href="classpolybori_1_1PBoRiGenericError.html#ba0aa17a8e404fef6a71999a1331d339ddd3ed4bb0fb9bb717e717e10b78bf4f">error_code</a> = ErrorCode }</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <a class="el" href="structpolybori_1_1CAuxTypes.html#3833bacefff1e7ccd8b44ac77b43f626">CTypes::errornum_type</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classpolybori_1_1PBoRiGenericError.html#91bc661d475c1ac63091ec8b2f666a44">errornum_type</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">adopt global error code enumeration <a href="#91bc661d475c1ac63091ec8b2f666a44"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <a class="el" href="structpolybori_1_1CAuxTypes.html#4a2cdc40729c10c4cb53a98270c93129">CTypes::errortext_type</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classpolybori_1_1PBoRiGenericError.html#a03de73ea7da962fa8dee63616557320">errortext_type</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">adopt global error text type <a href="#a03de73ea7da962fa8dee63616557320"></a><br></td></tr> <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classpolybori_1_1PBoRiGenericError.html#6b69de574b2e1ad6b458615ca6b8d48f">PBoRiGenericError</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Default constructor. <a href="#6b69de574b2e1ad6b458615ca6b8d48f"></a><br></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> <h3>template<CTypes::errornum_type ErrorCode><br> class polybori::PBoRiGenericError< ErrorCode ></h3> This template class is used for polybori's exception handling. <p> It's mainly a wrapper for <a class="el" href="classpolybori_1_1PBoRiError.html" title="This class is used for polybori's exception handling.">PBoRiError</a>, which allows compile-time distinction of errors. <hr><h2>Member Typedef Documentation</h2> <a class="anchor" name="91bc661d475c1ac63091ec8b2f666a44"></a><!-- doxytag: member="polybori::PBoRiGenericError::errornum_type" ref="91bc661d475c1ac63091ec8b2f666a44" args="" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<CTypes::errornum_type ErrorCode> </div> <table class="memname"> <tr> <td class="memname">typedef <a class="el" href="structpolybori_1_1CAuxTypes.html#3833bacefff1e7ccd8b44ac77b43f626">CTypes::errornum_type</a> <a class="el" href="classpolybori_1_1PBoRiGenericError.html">polybori::PBoRiGenericError</a>< ErrorCode >::<a class="el" href="classpolybori_1_1PBoRiGenericError.html#91bc661d475c1ac63091ec8b2f666a44">errornum_type</a> </td> </tr> </table> </div> <div class="memdoc"> <p> adopt global error code enumeration <p> <p>Reimplemented from <a class="el" href="classpolybori_1_1PBoRiError.html#95dfedddd52dc15b61f99b197ea614a5">polybori::PBoRiError</a>.</p> </div> </div><p> <a class="anchor" name="a03de73ea7da962fa8dee63616557320"></a><!-- doxytag: member="polybori::PBoRiGenericError::errortext_type" ref="a03de73ea7da962fa8dee63616557320" args="" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<CTypes::errornum_type ErrorCode> </div> <table class="memname"> <tr> <td class="memname">typedef <a class="el" href="structpolybori_1_1CAuxTypes.html#4a2cdc40729c10c4cb53a98270c93129">CTypes::errortext_type</a> <a class="el" href="classpolybori_1_1PBoRiGenericError.html">polybori::PBoRiGenericError</a>< ErrorCode >::<a class="el" href="classpolybori_1_1PBoRiGenericError.html#a03de73ea7da962fa8dee63616557320">errortext_type</a> </td> </tr> </table> </div> <div class="memdoc"> <p> adopt global error text type <p> <p>Reimplemented from <a class="el" href="classpolybori_1_1PBoRiError.html#603483e031f76b4859afe89555eeb6c4">polybori::PBoRiError</a>.</p> </div> </div><p> <hr><h2>Member Enumeration Documentation</h2> <a class="anchor" name="ba0aa17a8e404fef6a71999a1331d339"></a><!-- doxytag: member="polybori::PBoRiGenericError::@19" ref="ba0aa17a8e404fef6a71999a1331d339" args="" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<CTypes::errornum_type ErrorCode> </div> <table class="memname"> <tr> <td class="memname">anonymous enum </td> </tr> </table> </div> <div class="memdoc"> <p> <dl compact><dt><b>Enumerator: </b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"><em><a class="anchor" name="ba0aa17a8e404fef6a71999a1331d339ddd3ed4bb0fb9bb717e717e10b78bf4f"></a><!-- doxytag: member="error_code" ref="ba0aa17a8e404fef6a71999a1331d339ddd3ed4bb0fb9bb717e717e10b78bf4f" args="" -->error_code</em> </td><td> </td></tr> </table> </dl> </div> </div><p> <hr><h2>Constructor & Destructor Documentation</h2> <a class="anchor" name="6b69de574b2e1ad6b458615ca6b8d48f"></a><!-- doxytag: member="polybori::PBoRiGenericError::PBoRiGenericError" ref="6b69de574b2e1ad6b458615ca6b8d48f" args="()" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<CTypes::errornum_type ErrorCode> </div> <table class="memname"> <tr> <td class="memname"><a class="el" href="classpolybori_1_1PBoRiGenericError.html">polybori::PBoRiGenericError</a>< ErrorCode >::<a class="el" href="classpolybori_1_1PBoRiGenericError.html">PBoRiGenericError</a> </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Default constructor. <p> </div> </div><p> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="PBoRiGenericError_8h_source.html">PBoRiGenericError.h</a></ul> </div> <hr size="1"><address style="text-align: right;"><small>Generated on Wed Sep 9 14:31:04 2009 for PolyBoRi by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.9 </small></address> </body> </html>