<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 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><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 List</span></a></li> <li><a href="globals.html"><span>File Members</span></a></li> </ul> </div> <div class="navpath"><a class="el" href="dir_dd37c879693a21e1d65a2840272c12ab.html">graphics</a> </div> </div> <div class="contents"> <h1>ViewFactory.cxx</h1><a href="ViewFactory_8cxx.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <a name="l00012"></a>00012 <span class="preprocessor">#include "<a class="code" href="ViewFactory_8h.html" title="ViewFactory class interface.">ViewFactory.h</a>"</span> <a name="l00013"></a>00013 <a name="l00014"></a>00014 <span class="keyword">namespace </span>hippodraw { <a name="l00015"></a>00015 <a name="l00016"></a>00016 ViewFactory * <a class="code" href="classhippodraw_1_1ViewFactory.html#afa30175f3a71b4bb48ae93b70a2387a5" title="An instance of the default view factory.">ViewFactory::m_instance</a> = 0; <a name="l00017"></a><a class="code" href="classhippodraw_1_1ViewFactory.html#a390cb9779736ebeb60803544610160ae">00017</a> <a name="l00018"></a>00018 <a class="code" href="classhippodraw_1_1ViewFactory.html#a390cb9779736ebeb60803544610160ae" title="The default constructor is disallowed.">ViewFactory::ViewFactory</a> ( ) <a name="l00019"></a>00019 { <a name="l00020"></a>00020 <a class="code" href="classhippodraw_1_1ViewFactory.html#afa30175f3a71b4bb48ae93b70a2387a5" title="An instance of the default view factory.">m_instance</a> = <span class="keyword">this</span>; <a name="l00021"></a>00021 } <a name="l00022"></a><a class="code" href="classhippodraw_1_1ViewFactory.html#a58ae11230ee002d2a4f5f47c9576cad7">00022</a> <a name="l00023"></a>00023 <a class="code" href="classhippodraw_1_1ViewFactory.html" title="The abstract base class for a factory that creates objects closely related to the...">ViewFactory</a> * <a class="code" href="classhippodraw_1_1ViewFactory.html#a58ae11230ee002d2a4f5f47c9576cad7" title="The public interface for getting to the concrete default view factory.">ViewFactory::instance</a>() <a name="l00024"></a>00024 { <a name="l00025"></a>00025 <span class="keywordflow">return</span> <a class="code" href="classhippodraw_1_1ViewFactory.html#afa30175f3a71b4bb48ae93b70a2387a5" title="An instance of the default view factory.">m_instance</a>; <a name="l00026"></a>00026 } <a name="l00027"></a>00027 <a name="l00028"></a>00028 } <span class="comment">// namespace hippodraw</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>