export_LineStyle.cxx
Go to the documentation of this file.
1 
12 #ifdef _MSC_VER
13 // nonstandard extension used 'extern' before...
14 # pragma warning(disable:4231)
15 
16 // needs to have dll-interface used by client
17 # pragma warning(disable:4251)
18 
19 // non dll-interface struct
20 # pragma warning(disable:4275)
21 
22 // 'int' : forcing value to bool 'true' or 'false' (performance warning)
23 # pragma warning(disable:4800)
24 #endif
25 
26 #include "graphics/LineStyle.h"
27 
28 #include <boost/python.hpp>
29 
30 using namespace boost::python;
31 
32 namespace hippodraw {
33 namespace Python {
34 
35 void
37 {
38  enum_ < Line::Style > ( "Line" )
39  .value ( "solid", Line::Solid )
40  .value ( "dash", Line::Dash )
41  .value ( "dot", Line::Dot )
42  .value ( "dashdot", Line::DashDot )
43  .value ( "dashdotdot", Line::DashDotDot )
44  .value ( "invisible", Line::Invisible )
45  ;
46 }
47 
48 } // namespace Python
49 } // namespace hippodraw

Generated for HippoDraw Class Library by doxygen