export_LineStyle.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/LineStyle.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_LineStyle ()
00037 {
00038   enum_ < Line::Style > ( "Line" )
00039     .value ( "solid",      Line::Solid )
00040     .value ( "dash",       Line::Dash )
00041     .value ( "dot",        Line::Dot )
00042     .value ( "dashdot",    Line::DashDot )
00043     .value ( "dashdotdot", Line::DashDotDot )
00044     .value ( "invisible",  Line::Invisible )
00045    ;
00046 }
00047 
00048 } // namespace Python
00049 } // namespace hippodraw

Generated for HippoDraw Class Library by doxygen