Lines Matching refs:I801B2
134 struct I801B2 { int b = 2; I801B2() = default; I801B2(const I801B2 &) = default; virtual ~I801B2() = default; };
135 struct I801C : I801B1, I801B2 {};
142 py::class_<I801B2, std::shared_ptr<I801B2>>(m, "I801B2").def(py::init<>()).def_readonly("b", &I801B2::b);
143 py::class_<I801C, I801B1, I801B2, std::shared_ptr<I801C>>(m, "I801C").def(py::init<>());
150 m.def("i801b2_c", [](I801C *c) { return static_cast<I801B2 *>(c); });
152 m.def("i801b2_d", [](I801D *d) { return static_cast<I801B2 *>(d); });
158 m.def("i801c_b2", []() -> I801B2 * { return new I801C(); });
160 m.def("i801d_b2", []() -> I801B2 * { return new I801D(); });
165 m.def("i801e_b2", []() -> I801B2 * { return new I801E(); });