Generated code

// This file has been generated by Py++.

//Boost Software License( http://boost.org/more/license_info.html )

#include "boost/python.hpp"

#include "hello_world.hpp"

namespace bp = boost::python;

BOOST_PYTHON_MODULE(hw){
    bp::enum_< color>("Color")
        .value("red", red)
        .value("green", green)
        .value("blue", blue)
        .export_values()
        ;

    bp::class_< animal, boost::noncopyable >( "animal", bp::init< bp::optional< std::string const & > >(( bp::arg("name")="" )) )
        .def(
            "genealogical_tree_ref"
            , &::animal::genealogical_tree_ref
            , bp::return_internal_reference< 1, bp::default_call_policies >() )
        .def(
            "name"
            , &::animal::name );

    bp::implicitly_convertible< std::string const &, animal >();

    bp::class_< genealogical_tree >( "genealogical_tree" );
}