export_SymbolType.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/SymbolType.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_ < Symbol::Type > ( "Symbol" )
39  .value ( "opensquare", Symbol::SQUARE )
40  .value ( "filledsquare", Symbol::SOLIDSQUARE )
41  .value ( "plus", Symbol::PLUS )
42  .value ( "times", Symbol::TIMES )
43  .value ( "opentriangle", Symbol::TRIANGLE )
44  .value ( "filledtriangle", Symbol::FILLED_TRIANGLE )
45  .value ( "opencircle", Symbol::CIRCLE )
46  .value ( "filledcircle", Symbol::FILLED_CIRCLE )
47  .value ( "invisible", Symbol::INVISIBLE )
48  ;
49 }
50 
51 } // namespace Python
52 } // namespace hippodraw

Generated for HippoDraw Class Library by doxygen