Python's dictionary protocol permits this to be a forward iterator. More...
#include </builds/ipbus/ipbus-software/uhal/python/pybind11-python2/include/pybind11/pytypes.h>
Protected Types | |
| using | iterator_category = std::forward_iterator_tag |
| using | value_type = std::pair< handle, handle > |
| using | reference = const value_type |
| using | pointer = arrow_proxy< const value_type > |
| using | iterator_category = std::forward_iterator_tag |
| using | value_type = std::pair< handle, handle > |
| using | reference = const value_type |
| using | pointer = arrow_proxy< const value_type > |
Protected Member Functions | |
| dict_readonly ()=default | |
| dict_readonly (handle obj, ssize_t pos) | |
| reference | dereference () const |
| void | increment () |
| bool | equal (const dict_readonly &b) const |
| dict_readonly ()=default | |
| dict_readonly (handle obj, ssize_t pos) | |
| reference | dereference () const |
| void | increment () |
| bool | equal (const dict_readonly &b) const |
Private Attributes | |
| handle | obj |
| PyObject * | key = nullptr |
| PyObject * | value = nullptr |
| ssize_t | pos = -1 |
Python's dictionary protocol permits this to be a forward iterator.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protecteddefault |
Definition at line 948 of file pytypes.h.
References increment().
|
protecteddefault |
Definition at line 1213 of file pytypes.h.
References increment().
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
Definition at line 952 of file pytypes.h.
References key, obj, pos, handle::ptr(), and value.
Referenced by dict_readonly().
|
inlineprotected |
|
private |
Definition at line 961 of file pytypes.h.
Referenced by dereference(), and increment().
|
private |
Definition at line 960 of file pytypes.h.
Referenced by increment().
|
private |
Definition at line 962 of file pytypes.h.
Referenced by equal(), and increment().
|
private |
Definition at line 961 of file pytypes.h.
Referenced by dereference(), and increment().