Sophie

Sophie

distrib > Fedora > 13 > i386 > by-pkgid > eebc325dc36bd6e3b09b9b45133e42f8 > files > 2865

HippoDraw-devel-docs-1.21.1-10.fc13.i686.rpm

<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>HippoDraw Class Library</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
<link rel="shortcut icon" href="hippoApp.ico">
</head><body>
<!-- Generated by Doxygen 1.6.2 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;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 class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
      <li><a href="classes.html"><span>Class&nbsp;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
    </ul>
  </div>
  <div class="navpath"><a class="el" href="namespacehippodraw.html">hippodraw</a>::<a class="el" href="classhippodraw_1_1FactoryException.html">FactoryException</a>
  </div>
</div>
<div class="contents">
<h1>FactoryException Class Reference</h1><!-- doxytag: class="hippodraw::FactoryException" --><!-- doxytag: inherits="std::exception" -->
<p>An exception class that is thrown when the factory fails to find the request class by its name.  
<a href="#_details">More...</a></p>

<p><code>#include &lt;<a class="el" href="FactoryException_8h_source.html">FactoryException.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for FactoryException:</div>
<div class="dynsection">
<div class="center"><img src="classhippodraw_1_1FactoryException__inherit__graph.gif" border="0" usemap="#FactoryException_inherit__map" alt="Inheritance graph"/></div>
<map name="FactoryException_inherit__map" id="FactoryException_inherit__map">
<area shape="rect" id="node2" title="STL class." alt="" coords="28,5,105,35"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<div class="dynheader">
Collaboration diagram for FactoryException:</div>
<div class="dynsection">
<div class="center"><img src="classhippodraw_1_1FactoryException__coll__graph.gif" border="0" usemap="#FactoryException_coll__map" alt="Collaboration graph"/></div>
<map name="FactoryException_coll__map" id="FactoryException_coll__map">
<area shape="rect" id="node2" title="STL class." alt="" coords="5,85,83,115"/><area shape="rect" id="node4" title="STL class." alt="" coords="107,85,160,115"/><area shape="rect" id="node6" title="STL class." alt="" coords="63,5,204,35"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="classhippodraw_1_1FactoryException-members.html">List of all members.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhippodraw_1_1FactoryException.html#a95d1cfbf1eceba7ea6839c5bfed26d0f">FactoryException</a> (const std::string &amp;type)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The constructor.  <a href="#a95d1cfbf1eceba7ea6839c5bfed26d0f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhippodraw_1_1FactoryException.html#a9b24fcbaf61f41066a3d88e69cc831b9">FactoryException</a> (const <a class="el" href="classhippodraw_1_1FactoryException.html">FactoryException</a> &amp;)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The copy constructor.  <a href="#a9b24fcbaf61f41066a3d88e69cc831b9"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">char const *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhippodraw_1_1FactoryException.html#ad99006576992c29eb312d7f2f97014f2">what</a> () const   throw ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The error message that can be retreived.  <a href="#ad99006576992c29eb312d7f2f97014f2"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhippodraw_1_1FactoryException.html#a5a8e9c30e6959aa8dd97ad8442a1d3bc">~FactoryException</a> ()  throw ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The destructor.  <a href="#a5a8e9c30e6959aa8dd97ad8442a1d3bc"></a><br/></td></tr>
<tr><td colspan="2"><h2>Private Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">std::string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhippodraw_1_1FactoryException.html#a864a6c1ec7b6518cdddda525a697b040">m_type</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The type name that could not be found in the factory.  <a href="#a864a6c1ec7b6518cdddda525a697b040"></a><br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>An exception class that is thrown when the factory fails to find the request class by its name. </p>
<p>The class contains the error message with the failed name.</p>
<dl class="author"><dt><b>Author:</b></dt><dd>Paul F. Kunz &lt;<a href="mailto:Paul_Kunz@slac.stanford.edu">Paul_Kunz@slac.stanford.edu</a>&gt; </dd></dl>

<p>Definition at line <a class="el" href="FactoryException_8h_source.html#l00034">34</a> of file <a class="el" href="FactoryException_8h_source.html">FactoryException.h</a>.</p>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a9b24fcbaf61f41066a3d88e69cc831b9"></a><!-- doxytag: member="hippodraw::FactoryException::FactoryException" ref="a9b24fcbaf61f41066a3d88e69cc831b9" args="(const FactoryException &amp;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classhippodraw_1_1FactoryException.html">FactoryException</a> </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classhippodraw_1_1FactoryException.html">FactoryException</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>e</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The copy constructor. </p>
<dl class="attention"><dt><b>Attention:</b></dt><dd>GCC 2.95.3 needs it else exception doesn't appear to be caught correctly. GCC 3.2.1 doesn't need it. </dd></dl>

<p>Definition at line <a class="el" href="FactoryException_8cxx_source.html#l00019">19</a> of file <a class="el" href="FactoryException_8cxx_source.html">FactoryException.cxx</a>.</p>

<p>References <a class="el" href="FactoryException_8h_source.html#l00039">FactoryException::m_type</a>.</p>

</div>
</div>
<a class="anchor" id="a95d1cfbf1eceba7ea6839c5bfed26d0f"></a><!-- doxytag: member="hippodraw::FactoryException::FactoryException" ref="a95d1cfbf1eceba7ea6839c5bfed26d0f" args="(const std::string &amp;type)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classhippodraw_1_1FactoryException.html">FactoryException</a> </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&nbsp;</td>
          <td class="paramname"> <em>type</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The constructor. </p>
<p>Takes as argument the type name that could not be found in the factory. </p>

<p>Definition at line <a class="el" href="FactoryException_8cxx_source.html#l00026">26</a> of file <a class="el" href="FactoryException_8cxx_source.html">FactoryException.cxx</a>.</p>

<p>References <a class="el" href="FactoryException_8h_source.html#l00039">FactoryException::m_type</a>.</p>

</div>
</div>
<a class="anchor" id="a5a8e9c30e6959aa8dd97ad8442a1d3bc"></a><!-- doxytag: member="hippodraw::FactoryException::~FactoryException" ref="a5a8e9c30e6959aa8dd97ad8442a1d3bc" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">~<a class="el" href="classhippodraw_1_1FactoryException.html">FactoryException</a> </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td>  throw ()<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The destructor. </p>
<dl class="attention"><dt><b>Attention:</b></dt><dd>Althought implementation does nothing GCC 3.2.1 insists that it declared like the base class. </dd></dl>

<p>Definition at line <a class="el" href="FactoryException_8cxx_source.html#l00032">32</a> of file <a class="el" href="FactoryException_8cxx_source.html">FactoryException.cxx</a>.</p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="ad99006576992c29eb312d7f2f97014f2"></a><!-- doxytag: member="hippodraw::FactoryException::what" ref="ad99006576992c29eb312d7f2f97014f2" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">char const * what </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const  throw ()</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The error message that can be retreived. </p>

<p>Definition at line <a class="el" href="FactoryException_8cxx_source.html#l00038">38</a> of file <a class="el" href="FactoryException_8cxx_source.html">FactoryException.cxx</a>.</p>

<p>References <a class="el" href="FactoryException_8h_source.html#l00039">FactoryException::m_type</a>.</p>

<p>Referenced by <a class="el" href="DataRepController_8cxx_source.html#l00108">DataRepController::createDataRep()</a>.</p>

</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="a864a6c1ec7b6518cdddda525a697b040"></a><!-- doxytag: member="hippodraw::FactoryException::m_type" ref="a864a6c1ec7b6518cdddda525a697b040" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::string <a class="el" href="classhippodraw_1_1FactoryException.html#a864a6c1ec7b6518cdddda525a697b040">m_type</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The type name that could not be found in the factory. </p>

<p>Definition at line <a class="el" href="FactoryException_8h_source.html#l00039">39</a> of file <a class="el" href="FactoryException_8h_source.html">FactoryException.h</a>.</p>

<p>Referenced by <a class="el" href="FactoryException_8cxx_source.html#l00019">FactoryException::FactoryException()</a>, and <a class="el" href="FactoryException_8cxx_source.html#l00038">FactoryException::what()</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="FactoryException_8h_source.html">FactoryException.h</a></li>
<li><a class="el" href="FactoryException_8cxx_source.html">FactoryException.cxx</a></li>
</ul>
</div>
<hr size="1"><address style="align: right;"><small>
Generated for HippoDraw Class Library by <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0>
</a> </small></address>
</body>
</html>