|
| | accessor (handle obj, key_type key) |
| |
| | accessor (const accessor &)=default |
| |
| | accessor (accessor &&) noexcept=default |
| |
| void | operator= (const accessor &a) && |
| |
| void | operator= (const accessor &a) & |
| |
| template<typename T > |
| void | operator= (T &&value) && |
| |
| template<typename T > |
| void | operator= (T &&value) & |
| |
| | accessor (handle obj, key_type key) |
| |
| | accessor (const accessor &)=default |
| |
| | accessor (accessor &&) noexcept=default |
| |
| void | operator= (const accessor &a) && |
| |
| void | operator= (const accessor &a) & |
| |
| template<typename T > |
| void | operator= (T &&value) && |
| |
| template<typename T > |
| void | operator= (T &&value) & |
| |
| template<typename T = Policy> |
| | PYBIND11_DEPRECATED ("Use of obj.attr(...) as bool is deprecated in favor of pybind11::hasattr(obj, ...)") explicit operator enable_if_t< std |
| |
| object & | get_cache () const |
| |
| iterator | begin () const |
| | \rst Return an iterator equivalent to calling iter() in Python. More...
|
| |
| iterator | begin () const |
| | \rst Return an iterator equivalent to calling iter() in Python. More...
|
| |
| iterator | end () const |
| | Return a sentinel which ends iteration. More...
|
| |
| iterator | end () const |
| | Return a sentinel which ends iteration. More...
|
| |
| item_accessor | operator[] (handle key) const |
| | \rst Return an internal functor to invoke the object's sequence protocol. More...
|
| |
| item_accessor | operator[] (const char *key) const |
| | See above (the only difference is that they key is provided as a string literal) More...
|
| |
| item_accessor | operator[] (handle key) const |
| | \rst Return an internal functor to invoke the object's sequence protocol. More...
|
| |
| item_accessor | operator[] (object &&key) const |
| | See above (the only difference is that the key's reference is stolen) More...
|
| |
| item_accessor | operator[] (const char *key) const |
| | See above (the only difference is that the key is provided as a string literal) More...
|
| |
| obj_attr_accessor | attr (handle key) const |
| | \rst Return an internal functor to access the object's attributes. More...
|
| |
| str_attr_accessor | attr (const char *key) const |
| | See above (the only difference is that they key is provided as a string literal) More...
|
| |
| obj_attr_accessor | attr (handle key) const |
| | \rst Return an internal functor to access the object's attributes. More...
|
| |
| obj_attr_accessor | attr (object &&key) const |
| | See above (the only difference is that the key's reference is stolen) More...
|
| |
| str_attr_accessor | attr (const char *key) const |
| | See above (the only difference is that the key is provided as a string literal) More...
|
| |
| args_proxy | operator* () const |
| | \rst Matches * unpacking in Python, e.g. More...
|
| |
| object | operator* (object_api const &other) const |
| |
| args_proxy | operator* () const |
| | \rst Matches * unpacking in Python, e.g. More...
|
| |
| object | operator* (object_api const &other) const |
| |
| bool | contains (T &&item) const |
| | Check if the given item is contained within this object, i.e. item in obj. More...
|
| |
| bool | contains (T &&item) const |
| | Check if the given item is contained within this object, i.e. item in obj. More...
|
| |
| object | operator() (Args &&...args) const |
| | \rst Assuming the Python object is a function or implements the __call__ protocol, operator() invokes the underlying function, passing an arbitrary set of parameters. More...
|
| |
| object | operator() (Args &&...args) const |
| | \rst Assuming the Python object is a function or implements the __call__ protocol, operator() invokes the underlying function, passing an arbitrary set of parameters. More...
|
| |
| | PYBIND11_DEPRECATED ("call(...) was deprecated in favor of operator()(...)") object call(Args &&...args) const |
| |
| | PYBIND11_DEPRECATED ("call(...) was deprecated in favor of operator()(...)") object call(Args &&...args) const |
| |
| bool | is (object_api const &other) const |
| | Equivalent to obj is other in Python. More...
|
| |
| bool | is (object_api const &other) const |
| | Equivalent to obj is other in Python. More...
|
| |
| bool | is_none () const |
| | Equivalent to obj is None in Python. More...
|
| |
| bool | is_none () const |
| | Equivalent to obj is None in Python. More...
|
| |
| bool | equal (object_api const &other) const |
| | Equivalent to obj == other in Python. More...
|
| |
| bool | equal (object_api const &other) const |
| | Equivalent to obj == other in Python. More...
|
| |
| bool | not_equal (object_api const &other) const |
| |
| bool | not_equal (object_api const &other) const |
| |
| bool | operator< (object_api const &other) const |
| |
| bool | operator< (object_api const &other) const |
| |
| bool | operator<= (object_api const &other) const |
| |
| bool | operator<= (object_api const &other) const |
| |
| bool | operator> (object_api const &other) const |
| |
| bool | operator> (object_api const &other) const |
| |
| bool | operator>= (object_api const &other) const |
| |
| bool | operator>= (object_api const &other) const |
| |
| object | operator- () const |
| |
| object | operator- (object_api const &other) const |
| |
| object | operator- () const |
| |
| object | operator- (object_api const &other) const |
| |
| object | operator~ () const |
| |
| object | operator~ () const |
| |
| object | operator+ (object_api const &other) const |
| |
| object | operator+ (object_api const &other) const |
| |
| object | operator+= (object_api const &other) const |
| |
| object | operator+= (object_api const &other) |
| |
| object | operator-= (object_api const &other) const |
| |
| object | operator-= (object_api const &other) |
| |
| object | operator*= (object_api const &other) const |
| |
| object | operator*= (object_api const &other) |
| |
| object | operator/ (object_api const &other) const |
| |
| object | operator/ (object_api const &other) const |
| |
| object | operator/= (object_api const &other) const |
| |
| object | operator/= (object_api const &other) |
| |
| object | operator| (object_api const &other) const |
| |
| object | operator| (object_api const &other) const |
| |
| object | operator|= (object_api const &other) const |
| |
| object | operator|= (object_api const &other) |
| |
| object | operator& (object_api const &other) const |
| |
| object | operator& (object_api const &other) const |
| |
| object | operator&= (object_api const &other) const |
| |
| object | operator&= (object_api const &other) |
| |
| object | operator^ (object_api const &other) const |
| |
| object | operator^ (object_api const &other) const |
| |
| object | operator^= (object_api const &other) const |
| |
| object | operator^= (object_api const &other) |
| |
| object | operator<< (object_api const &other) const |
| |
| object | operator<< (object_api const &other) const |
| |
| object | operator<<= (object_api const &other) const |
| |
| object | operator<<= (object_api const &other) |
| |
| object | operator>> (object_api const &other) const |
| |
| object | operator>> (object_api const &other) const |
| |
| object | operator>>= (object_api const &other) const |
| |
| object | operator>>= (object_api const &other) |
| |
| pybind11::str | str () const |
| |
| pybind11::str | str () const |
| |
| str_attr_accessor | doc () const |
| | Get or set the object's docstring, i.e. obj.__doc__. More...
|
| |
| str_attr_accessor | doc () const |
| | Get or set the object's docstring, i.e. obj.__doc__. More...
|
| |
| int | ref_count () const |
| | Return the object's current reference count. More...
|
| |
| int | ref_count () const |
| | Return the object's current reference count. More...
|
| |
| handle | get_type () const |
| |
| handle | get_type () const |
| |
template<typename Policy>
class accessor< Policy >
Definition at line 923 of file pytypes.h.