71 virtual string description() {
88 if (name !=
"__main__")
125 boost::python::object func;
130 functor_t(boost::python::object _func,
const string& _name)
131 : func(_func), name(_name) {
132 TRACE_CTOR(functor_t,
"boost::python::object, const string&");
134 functor_t(
const functor_t& other)
135 : func(other.func), name(other.name) {
138 virtual ~functor_t() throw() {
141 virtual value_t operator()(call_scope_t& args);
150 parent->import_option(str);
#define TRACE_CTOR(cls, args)
#define OPTION_(type, name, body)
intrusive_ptr< op_t > ptr_op_t