Home
last modified time | relevance | path

Searched refs:make_getter (Results 1 – 8 of 8) sorted by relevance

/third_party/boost/boost/python/
Ddata_members.hpp151 inline object make_getter(D& d, P& p, detail::false_, ...);
156 inline object make_getter(D* d, Policies const& policies, detail::false_, int) in make_getter() function
165 inline object make_getter(D* d, not_specified, detail::false_, long) in make_getter() function
168 return detail::make_getter(d, policies(), detail::false_(), 0); in make_getter()
173 inline object make_getter(D C::*pm, Policies const& policies, detail::true_, int) in make_getter() function
189 inline object make_getter(D C::*pm, not_specified, detail::true_, long) in make_getter() function
192 return detail::make_getter(pm, policies(), detail::true_(), 0); in make_getter()
197 inline object make_getter(D& d, P& p, detail::false_, ...) in make_getter() function
200 return detail::make_getter(&d, p, detail::false_(), 0L); in make_getter()
247 inline object make_getter(D& d, Policies const& policies) in make_getter() function
[all …]
Dclass.hpp303 base::add_property(name, this->make_getter(fget), docstr); in add_property()
311 name, this->make_getter(fget), this->make_setter(fset), docstr); in add_property()
371 object make_getter(F f) in make_getter() function in boost::python::class_
402 return python::make_getter(pm); in make_fn_impl()
437 return this->add_static_property(name, python::make_getter(d)); in def_readonly_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/
Ddata_members.qbk3 `make_getter()` and `make_setter()` are the functions used internally by [link high_level_component…
8 object make_getter(D C::*pm);
11 object make_getter(D C::*pm, Policies const& policies);
21 object make_getter(D const& d);
23 object make_getter(D const& d, Policies const& policies);
26 object make_getter(D const* p);
28 object make_getter(D const* p, Policies const& policies);
65 The code below uses make_getter and make_setter to expose a data member as functions:
82 .def("get", make_getter(&X::y))
Dclass.qbk229 …[[Effects][``this->add_property(name, make_getter(pm), doc);`` and ``this->add_static_property(nam…
240 …ts][``this->add_property(name, make_getter(pm), make_setter(pm), doc);`` and ``this->add_static_pr…
/third_party/boost/libs/python/test/
Dproperties.cpp74 make_getter( &X::m_value, return_by_value_t() ), in BOOST_PYTHON_MODULE()
80 make_getter( &X::s_count, return_by_value_t() ), in BOOST_PYTHON_MODULE()
Da_map_indexing_suite.cpp87 .add_property("a", make_getter(&B::a, return_value_policy<return_by_value>()), in a_map_indexing_suite()
Ddata_members.cpp77 … .add_property("property", make_getter(&trivial::value, return_value_policy<return_by_value>())) in compilability_test()
/third_party/boost/libs/python/doc/
Dfaq.qbk696 .add_property("bar", make_getter(&foo::bar, return_internal_reference()))
702 .add_property("bar", make_getter(&foo::bar, return_internal_reference()),
710 .add_property("bar", make_getter(&foo::bar, return_value_policy<return_by_value>()),