Searched refs:make_setter (Results 1 – 7 of 7) sorted by relevance
/third_party/boost/boost/python/ |
D | data_members.hpp | 213 inline object make_setter(D* p, Policies const& policies, detail::false_, int) in make_setter() function 222 inline object make_setter(D C::*pm, Policies const& policies, detail::true_, int) in make_setter() function 233 inline object make_setter(D& x, Policies const& policies, detail::false_, ...) in make_setter() function 235 return detail::make_setter(&x, policies, detail::false_(), 0L); in make_setter() 284 inline object make_setter(D& x, Policies const& policies) in make_setter() function 286 return detail::make_setter(x, policies, detail::is_member_pointer<D>(), 0); in make_setter() 290 inline object make_setter(D const& x, Policies const& policies) in make_setter() function 292 return detail::make_setter(x, policies, detail::is_member_pointer<D>(), 0); in make_setter() 296 inline object make_setter(D& x) in make_setter() function 298 return detail::make_setter(x, default_call_policies(), detail::is_member_pointer<D>(), 0); in make_setter() [all …]
|
D | class.hpp | 311 name, this->make_getter(fget), this->make_setter(fset), docstr); in add_property() 382 object make_setter(F f) in make_setter() function in boost::python::class_ 409 return python::make_setter(pm); in make_fn_impl() 444 return this->add_static_property(name, python::make_getter(d), python::make_setter(d)); in def_readwrite_impl()
|
/third_party/boost/libs/python/doc/reference/ |
D | data_members.qbk | 3 `make_getter()` and `make_setter()` are the functions used internally by [link high_level_component… 37 object make_setter(D C::*pm); 40 object make_setter(D C::*pm, Policies const& policies); 49 object make_setter(D& d); 51 object make_setter(D& d, Policies const& policies); 54 object make_setter(D* p); 56 object make_setter(D* p, Policies const& policies); 65 The code below uses make_getter and make_setter to expose a data member as functions: 83 .def("set", make_setter(&X::y))
|
D | class.qbk | 240 …roperty(name, make_getter(pm), make_setter(pm), doc);`` and ``this->add_static_property(name, make…
|
/third_party/boost/libs/python/test/ |
D | properties.cpp | 75 make_setter( &X::m_value, return_by_internal_reference_t() ) ) in BOOST_PYTHON_MODULE() 81 make_setter( &X::s_count, return_by_internal_reference_t() ) ) in BOOST_PYTHON_MODULE()
|
D | a_map_indexing_suite.cpp | 88 make_setter(&B::a, return_value_policy<return_by_value>())) in a_map_indexing_suite()
|
/third_party/boost/libs/python/doc/ |
D | faq.qbk | 703 make_setter(&foo::bar, return_internal_reference()) 711 make_setter(&foo::bar, return_value_policy<return_by_value>()))
|