Lines Matching refs:def
89 .def(py::init<float, float>())
90 .def(py::self + py::self)
91 .def(py::self + float())
92 .def(py::self - py::self)
93 .def(py::self - float())
94 .def(py::self * float())
95 .def(py::self / float())
96 .def(py::self * py::self)
97 .def(py::self / py::self)
98 .def(py::self += py::self)
99 .def(py::self -= py::self)
100 .def(py::self *= float())
101 .def(py::self /= float())
102 .def(py::self *= py::self)
103 .def(py::self /= py::self)
104 .def(float() + py::self)
105 .def(float() - py::self)
106 .def(float() * py::self)
107 .def(float() / py::self)
108 .def(-py::self)
109 .def("__str__", &Vector2::toString)
110 .def(hash(py::self))
118 .def(py::init<>())
119 .def(py::self + py::self);
122 .def(py::init<>())
123 .def(py::self + py::self)
124 .def("__add__", [](const C2& c2, const C1& c1) { return c2 + c1; })
125 .def("__radd__", [](const C2& c2, const C1& c1) { return c1 + c2; });
131 .def(py::init<>())
139 .def(py::init<>())
140 .def(py::self += int())
141 .def("as_base", [](NestA &a) -> NestABase& {
144 m.def("get_NestA", [](const NestA &a) { return a.value; });
152 .def(py::init<>())
153 .def(py::self -= int())
155 m.def("get_NestB", [](const NestB &b) { return b.value; });
163 .def(py::init<>())
164 .def(py::self *= int())
166 m.def("get_NestC", [](const NestC &c) { return c.value; });