ATLAS Offline Software
|
This class provides some pathces for an iterator. More...
#include <PyItPatch.h>
Public Member Functions | |
PyItPatch () | |
PyItPatch (IT &it) | |
virtual | ~PyItPatch () |
IT::reference | next () |
bool | eq (IT &rhs) |
bool | ne (IT &rhs) |
Private Attributes | |
IT | m_it |
NonConst< typename NonPointer< typename IT::pointer >::Type >::Type * | m_cache |
This class provides some pathces for an iterator.
Some c++ classes have methods to return iterators instead of vectors. In this case people need to use iterators directly. PyKernel addes next() and patches eq()/__ne__() instead. Then one can use the iterator like as a python iterator.
Definition at line 37 of file PyItPatch.h.
Definition at line 39 of file PyItPatch.h.
Definition at line 40 of file PyItPatch.h.
Definition at line 44 of file PyItPatch.h.
|
inline |
Definition at line 57 of file PyItPatch.h.
|
inline |
Definition at line 63 of file PyItPatch.h.
|
inline |
|
private |
Definition at line 70 of file PyItPatch.h.
|
private |
Definition at line 69 of file PyItPatch.h.