23 #include "pybind11/pybind11.h" 36 py::class_<DefaultPolicyFile, std::shared_ptr<DefaultPolicyFile>,
PolicyFile>
cls(mod,
39 cls.def(py::init<const char* const, const std::string&, const std::string&, bool>(),
"productName"_a,
40 "filepath"_a,
"repos"_a =
"",
"strict"_a =
true);
42 cls.def(
"load", &DefaultPolicyFile::load);
43 cls.def(
"getRepositoryPath",
definition of the PolicyFile class
the definition of the DefaultPolicyFile class
PYBIND11_MODULE(defaultPolicyFile, mod)
a representation of a default Policy file that is stored as a file in the installation directory of a...
A base class for image defects.
a representation of a file containing Policy parameter data.