| 374 | } |
| 375 | |
| 376 | Py::Object ParameterGrpPy::getBools(const Py::Tuple& args) |
| 377 | { |
| 378 | char* filter = nullptr; |
| 379 | if (!PyArg_ParseTuple(args.ptr(), "|s", &filter)) { |
| 380 | throw Py::Exception(); |
| 381 | } |
| 382 | |
| 383 | std::vector<std::pair<std::string, bool>> map = _cParamGrp->GetBoolMap(filter); |
| 384 | Py::List list; |
| 385 | for (const auto& it : map) { |
| 386 | list.append(Py::String(it.first)); |
| 387 | } |
| 388 | |
| 389 | return list; // NOLINT |
| 390 | } |
| 391 | |
| 392 | Py::Object ParameterGrpPy::setInt(const Py::Tuple& args) |
| 393 | { |
nothing calls this directly
no test coverage detected