Py::Object ParameterGrpPy::clear(const Py::Tuple& args) { if (!PyArg_ParseTuple(args.ptr(), "")) throw Py::Exception(); _cParamGrp->Clear(); return Py::None(); }
void ParameterGrp::copyTo(Base::Reference<ParameterGrp> Grp) { // delete previos content Grp->Clear(); // copy all insertTo(Grp); }
PyObject *ParameterGrpPy::PyClear(PyObject *args) { if (!PyArg_ParseTuple(args, "")) // convert args: Python->C return NULL; // NULL triggers exception PY_TRY { _cParamGrp->Clear(); Py_Return; }PY_CATCH; }