Searched refs:PickleableWithDict (Results 1 - 1 of 1) sorted by relevance

/gem5/ext/pybind11/tests/
H A Dtest_pickling.cpp77 class PickleableWithDict { class
79 PickleableWithDict(const std::string &value) : value(value) { } function in class:PickleableWithDict
85 class PickleableWithDictNew : public PickleableWithDict {
87 using PickleableWithDict::PickleableWithDict;
90 py::class_<PickleableWithDict>(m, "PickleableWithDict", py::dynamic_attr())
92 .def_readwrite("value", &PickleableWithDict::value)
93 .def_readwrite("extra", &PickleableWithDict::extra)
102 auto& p = self.cast<PickleableWithDict
[all...]

Completed in 3 milliseconds