8 #ifndef PYBIND_UPDATER_H 9 #define PYBIND_UPDATER_H 21 template <
class UPD = Updater>
28 PYBIND11_OVERLOAD_PURE(
29 void, UPD, compute_body, elem, data);
36 void, UPD, compute_common, elem, data);
43 PYBIND11_OVERLOAD_PURE(
44 void, UPD, compute_impl, data, check_required_keys, check_optional_keys);
ShPtr< Element > ElPtr
An alias for a shared pointer of Element class.
Namespace for functions to bind C++ classes to Python.
std::function< bool(const Json &)> JsonToBoolFunc
An alias for a function accepts a Json object and returns a bool.
nlohmann::json Json
Json is an alias for nlohmann::json.
Trampoline class to bind Updater class and its subclasses to Python.
void py_updater(py::module &m)
Bind Updater class to Python.
std::function< void(const Json &)> JsonToVoidFunc
An alias for a function accepts a Json object.
This file has a definition of Updater class, which is one of the cores of this program.
This file includes pybind11 and defines an alias for the namespace pybind11.