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

/gem5/ext/pybind11/tests/
H A Dtest_methods_and_attributes.cpp296 .def_property_static("def_writeonly_static", nullptr,
300 .def_property_static("def_property_writeonly_static", nullptr,
302 .def_property_static("def_property_static",
305 .def_property_static("static_cls",
332 .def_property_static("static_rw_ref", static_get1, static_set1)
333 .def_property_static("static_rw_copy", static_get2, static_set2, rvp_copy)
334 .def_property_static("static_rw_func", py::cpp_function(static_get2, rvp_copy), static_set2)
H A Dtest_methods_and_attributes.py138 m.TestProperties.def_property_static = 4
139 assert m.TestProperties.def_property_static == 4
146 assert m.TestProperties.def_property_static == 5
164 assert instance.def_property_static == 4
/gem5/ext/pybind11/include/pybind11/
H A Dpybind11.h1206 def_property_static(name, fget, fset, return_value_policy::reference, extra...);
1239 return def_property_static(name, fget, nullptr, extra...);
1256 return def_property_static(name, fget, fset, is_method(*this), extra...);
1261 class_ &def_property_static(const char *name, const Getter &fget, const cpp_function &fset, const Extra& ...extra) { function in class:cpp_function
1262 return def_property_static(name, cpp_function(fget), fset, return_value_policy::reference, extra...);
1267 class_ &def_property_static(const char *name, const cpp_function &fget, const cpp_function &fset, const Extra& ...extra) { function in class:cpp_function

Completed in 18 milliseconds