<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_bd46360b4c6a7cd846adf95fa79d46e4.html">python</a> </div> </div> <div class="contents"> <h1>export_Color.cxx</h1><a href="export__Color_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="comment">// nonstandard extension used 'extern' before...</span> <a name="l00014"></a>00014 <span class="preprocessor"># pragma warning(disable:4231) </span> <a name="l00015"></a>00015 <span class="preprocessor"></span> <a name="l00016"></a>00016 <span class="comment">// needs to have dll-interface used by client</span> <a name="l00017"></a>00017 <span class="preprocessor"># pragma warning(disable:4251) </span> <a name="l00018"></a>00018 <span class="preprocessor"></span> <a name="l00019"></a>00019 <span class="comment">// non dll-interface struct</span> <a name="l00020"></a>00020 <span class="preprocessor"># pragma warning(disable:4275) </span> <a name="l00021"></a>00021 <span class="preprocessor"></span> <a name="l00022"></a>00022 <span class="comment">// 'int' : forcing value to bool 'true' or 'false' (performance warning)</span> <a name="l00023"></a>00023 <span class="preprocessor"># pragma warning(disable:4800) </span> <a name="l00024"></a>00024 <span class="preprocessor"></span><span class="preprocessor">#endif</span> <a name="l00025"></a>00025 <span class="preprocessor"></span> <a name="l00026"></a>00026 <span class="comment">// include first to avoid _POSIX_C_SOURCE warning.</span> <a name="l00027"></a>00027 <span class="preprocessor">#include <boost/python.hpp></span> <a name="l00028"></a>00028 <a name="l00029"></a>00029 <span class="preprocessor">#include "<a class="code" href="Color_8h.html" title="Color class interface.">graphics/Color.h</a>"</span> <a name="l00030"></a>00030 <a name="l00031"></a>00031 <span class="keyword">using namespace </span>boost::python; <a name="l00032"></a>00032 <a name="l00033"></a>00033 <span class="keyword">namespace </span>hippodraw { <a name="l00034"></a>00034 <span class="keyword">namespace </span>Python { <a name="l00035"></a>00035 <a name="l00036"></a>00036 <span class="keywordtype">void</span> <a name="l00037"></a>00037 <a class="code" href="namespacehippodraw_1_1Python.html#a0bede9d5c6ea6156c987e90b49c1379f" title="Exports to Python the Color class and its enumerations.">export_Color</a> () <a name="l00038"></a>00038 { <a name="l00039"></a>00039 enum_ < Color::Value > ( <span class="stringliteral">"ColorValue"</span> ) <a name="l00040"></a>00040 .value ( <span class="stringliteral">"red"</span>, <a class="code" href="classhippodraw_1_1Color.html#a896c037a32087c5c20d97e64a1786880aace9033470c7bfe9523c814271251908">Color::red</a> ) <a name="l00041"></a>00041 .value ( <span class="stringliteral">"green"</span>, <a class="code" href="classhippodraw_1_1Color.html#a896c037a32087c5c20d97e64a1786880a6aa25890c44e0aac424e56338abe47ca">Color::green</a> ) <a name="l00042"></a>00042 .value ( <span class="stringliteral">"blue"</span>, <a class="code" href="classhippodraw_1_1Color.html#a896c037a32087c5c20d97e64a1786880a8f5fa6b484ac7e2a97943d915cf224e2">Color::blue</a> ) <a name="l00043"></a>00043 .value ( <span class="stringliteral">"yellow"</span>, <a class="code" href="classhippodraw_1_1Color.html#a896c037a32087c5c20d97e64a1786880ab31edea3fab8c488c7a8f78545e7f5a9">Color::yellow</a> ) <a name="l00044"></a>00044 .value ( <span class="stringliteral">"orange"</span>, <a class="code" href="classhippodraw_1_1Color.html#a896c037a32087c5c20d97e64a1786880aa2b3d8856786dbe594751820bc1ff2e5">Color::orange</a> ) <a name="l00045"></a>00045 .value ( <span class="stringliteral">"cyan"</span>, <a class="code" href="classhippodraw_1_1Color.html#a896c037a32087c5c20d97e64a1786880af86e4e7e79173ee87c1976080bb250b7">Color::cyan</a> ) <a name="l00046"></a>00046 .value ( <span class="stringliteral">"magenta"</span>, <a class="code" href="classhippodraw_1_1Color.html#a896c037a32087c5c20d97e64a1786880a997d39850948cc1baf6bd0cfd791d95d">Color::magenta</a> ) <a name="l00047"></a>00047 .value ( <span class="stringliteral">"black"</span>, <a class="code" href="classhippodraw_1_1Color.html#a896c037a32087c5c20d97e64a1786880a775364fe1f3fffe99686bf6d572a7370">Color::black</a> ) <a name="l00048"></a>00048 .value ( <span class="stringliteral">"darkgray"</span>, <a class="code" href="classhippodraw_1_1Color.html#a896c037a32087c5c20d97e64a1786880a1f4d12a09d3c93e96d2d9c95a9f3bd89">Color::darkgray</a> ) <a name="l00049"></a>00049 .value ( <span class="stringliteral">"lightgray"</span>, <a class="code" href="classhippodraw_1_1Color.html#a896c037a32087c5c20d97e64a1786880a3b082eb5c383772d7198529b4a11d1e5">Color::lightgray</a> ) <a name="l00050"></a>00050 .value ( <span class="stringliteral">"white"</span>, <a class="code" href="classhippodraw_1_1Color.html#a896c037a32087c5c20d97e64a1786880ade7bfe6c82a2aaaee276f752cdadf3a9">Color::white</a> ) <a name="l00051"></a>00051 ; <a name="l00052"></a>00052 } <a name="l00053"></a>00053 <a name="l00054"></a>00054 } <span class="comment">// namespace Python</span> <a name="l00055"></a>00055 } <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>