export_SymbolType.cxx

Go to the documentation of this file.
00001 
00012 #ifdef _MSC_VER
00013 // nonstandard extension used 'extern' before...
00014 # pragma warning(disable:4231)  
00015 
00016 // needs to have dll-interface used by client
00017 # pragma warning(disable:4251)  
00018 
00019 // non dll-interface struct
00020 # pragma warning(disable:4275)  
00021 
00022 // 'int' : forcing value to bool 'true' or 'false' (performance warning)
00023 # pragma warning(disable:4800)  
00024 #endif
00025 
00026 #include "graphics/SymbolType.h"
00027 
00028 #include <boost/python.hpp>
00029 
00030 using namespace boost::python;
00031 
00032 namespace hippodraw {
00033 namespace Python {
00034 
00035 void
00036 export_SymbolType ()
00037 {
00038   enum_ < Symbol::Type > ( "Symbol" )
00039     .value ( "opensquare",     Symbol::SQUARE )
00040     .value ( "filledsquare",   Symbol::SOLIDSQUARE )
00041     .value ( "plus",           Symbol::PLUS )
00042     .value ( "times",          Symbol::TIMES )
00043     .value ( "opentriangle",   Symbol::TRIANGLE )
00044     .value ( "filledtriangle", Symbol::FILLED_TRIANGLE )
00045     .value ( "opencircle",     Symbol::CIRCLE )
00046     .value ( "filledcircle",   Symbol::FILLED_CIRCLE )
00047     .value ( "invisible",      Symbol::INVISIBLE )
00048    ;
00049 }
00050 
00051 } // namespace Python
00052 } // namespace hippodraw

Generated for HippoDraw Class Library by doxygen