Sophie

Sophie

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

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_bd46360b4c6a7cd846adf95fa79d46e4.html">python</a>
  </div>
</div>
<div class="contents">
<h1>hippomodule.cxx</h1><a href="hippomodule_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">#ifdef _MSC_VER</span>
<a name="l00013"></a>00013 <span class="preprocessor"></span><span class="preprocessor"># pragma warning(disable:4231)  // nonstandard extension used &#39;extern&#39;</span>
<a name="l00014"></a>00014 <span class="preprocessor"></span>                                <span class="comment">// before...</span>
<a name="l00015"></a>00015 <span class="preprocessor"># pragma warning(disable:4251)  // needs to have dll-interface used by client</span>
<a name="l00016"></a>00016 <span class="preprocessor"></span><span class="preprocessor"># pragma warning(disable:4275)  // non dll-interface struct</span>
<a name="l00017"></a>00017 <span class="preprocessor"></span><span class="preprocessor"># pragma warning(disable:4800)  // &#39;int&#39; : forcing value to bool</span>
<a name="l00018"></a>00018 <span class="preprocessor"></span>                                <span class="comment">// &#39;true&#39; or &#39;false&#39; (performance</span>
<a name="l00019"></a>00019                                 <span class="comment">// warning)</span>
<a name="l00020"></a>00020 <span class="preprocessor">#endif</span>
<a name="l00021"></a>00021 <span class="preprocessor"></span>
<a name="l00022"></a>00022 <span class="preprocessor">#include &quot;<a class="code" href="exportToPython_8h.html" title="Declaration of functions exporting HippoDraw classes to Python with Boost.Python...">exportToPython.h</a>&quot;</span>
<a name="l00023"></a>00023 
<a name="l00024"></a>00024 <span class="preprocessor">#include &lt;boost/python.hpp&gt;</span>
<a name="l00025"></a>00025 
<a name="l00026"></a>00026 <span class="keyword">using namespace </span>hippodraw::Python;
<a name="l00027"></a>00027 <span class="keyword">using namespace </span>boost::python;
<a name="l00028"></a>00028 
<a name="l00037"></a><a class="code" href="hippomodule_8cxx.html#a34e49664189d2c058cc2fdf77fa92d53">00037</a> <a class="code" href="hippomodule_8cxx.html#a34e49664189d2c058cc2fdf77fa92d53" title="Creates a Python extension module for HippoDraw.">BOOST_PYTHON_MODULE</a>(hippo)
<a name="l00038"></a>00038 {
<a name="l00039"></a>00039   <a class="code" href="namespacehippodraw_1_1Python.html#aa8853bbb93dc2eae5a4fb7e6ddf79efd" title="Exports HippoDraw C++ classes to Python.">exportToPython</a> ();
<a name="l00040"></a>00040 }
</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>