14 # pragma warning(disable:4231)
17 # pragma warning(disable:4251)
20 # pragma warning(disable:4275)
23 # pragma warning(disable:4800)
27 #include <boost/python.hpp>
33 using namespace boost::python;
41 class_ < CutController, bases<>,
44 "The CutController class provides interface to Cut functions.",
47 .def (
"instance", &CutController::instance,
48 return_value_policy < reference_existing_object > (),
49 "instance () -> CutController\n"
51 "Returns the singleton instance of the controller." )
53 .staticmethod(
"instance" )
56 &CutController::createIdCut,
57 "createIdCut (source, dest ) -> None\n"
59 "Creates a column in dest that can be used as Cut on it, \n"
60 "for values in source" )