| 229 | } |
| 230 | |
| 231 | Py::Object ParameterGrpPy::insert(const Py::Tuple& args) |
| 232 | { |
| 233 | char* pstr = nullptr; |
| 234 | if (!PyArg_ParseTuple(args.ptr(), "s", &pstr)) { |
| 235 | throw Py::Exception(); |
| 236 | } |
| 237 | |
| 238 | try { |
| 239 | _cParamGrp->insert(pstr); |
| 240 | return Py::None(); |
| 241 | } |
| 242 | catch (const Base::Exception& e) { |
| 243 | e.setPyException(); |
| 244 | throw Py::Exception(); |
| 245 | } |
| 246 | } |
| 247 | |
| 248 | Py::Object ParameterGrpPy::exportTo(const Py::Tuple& args) |
| 249 | { |
nothing calls this directly
no test coverage detected