Geant4  10.03.p03
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
test07.cc File Reference
#include <boost/python.hpp>
Include dependency graph for test07.cc:

Go to the source code of this file.

Enumerations

enum  Color { red =100, blue, yellow }
 

Functions

 BOOST_PYTHON_MODULE (test07)
 

Enumeration Type Documentation

enum Color
Enumerator
red 
blue 
yellow 

Definition at line 36 of file test07.cc.

36 { red=100, blue, yellow };
Definition: test07.cc:36
Definition: test07.cc:36
Definition: test07.cc:36

Function Documentation

BOOST_PYTHON_MODULE ( test07  )

Definition at line 44 of file test07.cc.

45 {
46  enum_<Color>("Color")
47  .value("red", red)
48  .value("blue", blue)
49  .value("yellow", yellow)
50  ;
51 }
Definition: test07.cc:36
Definition: test07.cc:36
Definition: test07.cc:36
const XML_Char int const XML_Char * value
Definition: expat.h:331