LArSoft  v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
test07.cc File Reference
#include <boost/python.hpp>

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.

References blue, red, fhicl::detail::atom::value(), and yellow.

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
std::string value(boost::any const &)