// // Created by sjeske on 1/22/20. // #include "common.h" #include #include #include #include #include namespace py = pybind11; void ParameterObjectModule(py::module m_sub){ //auto m_sub = m.def_submodule("Common"); py::class_(m_sub, "ParameterObject") // .def(py::init<>()) TODO: no constructor for now because this object does not need to be constructable .def("getValueBool", &GenParam::ParameterObject::getValue) .def("getValueInt", &GenParam::ParameterObject::getValue) .def("getValueUInt", &GenParam::ParameterObject::getValue) .def("getValueFloat", &GenParam::ParameterObject::getValue) .def("getValueString", &GenParam::ParameterObject::getValue) .def("setValueBool", &GenParam::ParameterObject::setValue) .def("setValueInt", &GenParam::ParameterObject::setValue) .def("setValueUInt", &GenParam::ParameterObject::setValue) .def("setValueFloat", &GenParam::ParameterObject::setValue) .def("setValueString", &GenParam::ParameterObject::setValue); }