Sophie

Sophie

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

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><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><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="files.html"><span>File&nbsp;List</span></a></li>
      <li><a href="globals.html"><span>File&nbsp;Members</span></a></li>
    </ul>
  </div>
  <div class="navpath"><a class="el" href="dir_6633238f5107fd0d748d9093e08c459d.html">minimizers</a>
  </div>
</div>
<div class="contents">
<h1>FitterFactory.h</h1><a href="FitterFactory_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/* -*- mode: c++ -*- */</span>
<a name="l00002"></a>00002 
<a name="l00014"></a>00014 <span class="preprocessor">#ifndef _FitterFactory_H_</span>
<a name="l00015"></a>00015 <span class="preprocessor"></span><span class="preprocessor">#define _FitterFactory_H_</span>
<a name="l00016"></a>00016 <span class="preprocessor"></span>
<a name="l00017"></a>00017 <span class="preprocessor">#include &quot;<a class="code" href="Factory_8h.html" title="hippodraw::Factory class interface and template implementation">pattern/Factory.h</a>&quot;</span>
<a name="l00018"></a>00018 
<a name="l00019"></a>00019 <span class="keyword">namespace </span>hippodraw {
<a name="l00020"></a>00020 
<a name="l00021"></a>00021 <span class="keyword">class </span>Fitter;
<a name="l00022"></a>00022 
<a name="l00028"></a><a class="code" href="classhippodraw_1_1FitterFactory.html">00028</a> <span class="keyword">class </span><a class="code" href="libhippo_8h.html#a480024fd54849c743866874550153711">MDL_HIPPOPLOT_API</a> <a class="code" href="classhippodraw_1_1FitterFactory.html" title="A Factory singleton class for creating objects whose class derives from Fitter.">FitterFactory</a> : <span class="keyword">public</span> <a class="code" href="classhippodraw_1_1Factory.html" title="The base class for singleton factory classes.">Factory</a> &lt;Fitter&gt;
<a name="l00029"></a>00029 {
<a name="l00030"></a>00030 
<a name="l00031"></a>00031  <span class="keyword">private</span>:
<a name="l00032"></a>00032 
<a name="l00035"></a><a class="code" href="classhippodraw_1_1FitterFactory.html#a68643a9ff533e2d1da51b86acd428e57">00035</a>   std::string m_default;
<a name="l00036"></a>00036 
<a name="l00038"></a><a class="code" href="classhippodraw_1_1FitterFactory.html#aec0d71f4a1ac26dfa0ddcb20aba3427a">00038</a>   <span class="keyword">static</span> <a class="code" href="classhippodraw_1_1FitterFactory.html" title="A Factory singleton class for creating objects whose class derives from Fitter.">FitterFactory</a> * s_instance;
<a name="l00039"></a>00039 
<a name="l00041"></a>00041   <a class="code" href="classhippodraw_1_1FitterFactory.html" title="A Factory singleton class for creating objects whose class derives from Fitter.">FitterFactory</a> ( <span class="keyword">const</span> <a class="code" href="classhippodraw_1_1FitterFactory.html" title="A Factory singleton class for creating objects whose class derives from Fitter.">FitterFactory</a> &amp; );
<a name="l00042"></a>00042 
<a name="l00044"></a>00044   <span class="keywordtype">void</span> initialize ();
<a name="l00045"></a>00045 
<a name="l00046"></a>00046 <span class="keyword">protected</span>:
<a name="l00047"></a>00047 
<a name="l00050"></a>00050   <a class="code" href="classhippodraw_1_1FitterFactory.html" title="A Factory singleton class for creating objects whose class derives from Fitter.">FitterFactory</a>();
<a name="l00051"></a>00051 
<a name="l00052"></a>00052  <span class="keyword">public</span>:
<a name="l00053"></a>00053 
<a name="l00055"></a>00055   <span class="keyword">static</span> <a class="code" href="classhippodraw_1_1FitterFactory.html" title="A Factory singleton class for creating objects whose class derives from Fitter.">FitterFactory</a> * instance ();
<a name="l00056"></a>00056 
<a name="l00061"></a>00061   <span class="keywordtype">void</span> setDefault ( <span class="keyword">const</span> std::string &amp; name );
<a name="l00062"></a>00062 
<a name="l00065"></a>00065   <span class="keyword">const</span> std::string &amp; getDefault () <span class="keyword">const</span>;
<a name="l00066"></a>00066 
<a name="l00067"></a>00067 };
<a name="l00068"></a>00068 
<a name="l00069"></a>00069 } <span class="comment">// namespace hippodraw</span>
<a name="l00070"></a>00070 
<a name="l00071"></a>00071 <span class="preprocessor">#endif // _FitterFactory_H_</span>
</pre></div></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>