| 412 | } |
| 413 | |
| 414 | Py::Object ParameterGrpPy::getInts(const Py::Tuple& args) |
| 415 | { |
| 416 | char* filter = nullptr; |
| 417 | if (!PyArg_ParseTuple(args.ptr(), "|s", &filter)) { |
| 418 | throw Py::Exception(); |
| 419 | } |
| 420 | |
| 421 | std::vector<std::pair<std::string, long>> map = _cParamGrp->GetIntMap(filter); |
| 422 | Py::List list; |
| 423 | for (const auto& it : map) { |
| 424 | list.append(Py::String(it.first)); |
| 425 | } |
| 426 | |
| 427 | return list; // NOLINT |
| 428 | } |
| 429 | |
| 430 | Py::Object ParameterGrpPy::setUnsigned(const Py::Tuple& args) |
| 431 | { |