ATLAS Offline Software
Loading...
Searching...
No Matches
PyDumper::PySTLAdaptor< C >::iterator Class Reference

#include <PySTLAdaptor.h>

Collaboration diagram for PyDumper::PySTLAdaptor< C >::iterator:

Public Member Functions

 iterator (typename C::const_iterator it)
C::const_iterator::value_type operator* ()
iteratoroperator++ ()
bool operator!= (const iterator &other) const

Private Attributes

C::const_iterator m_it

Detailed Description

template<class C>
class PyDumper::PySTLAdaptor< C >::iterator

Definition at line 39 of file PySTLAdaptor.h.

Constructor & Destructor Documentation

◆ iterator()

template<class C>
PyDumper::PySTLAdaptor< C >::iterator::iterator ( typename C::const_iterator it)
inline

Definition at line 42 of file PySTLAdaptor.h.

42: m_it (it) {}
Helper for iterating over STL map classes.

Member Function Documentation

◆ operator!=()

template<class C>
bool PyDumper::PySTLAdaptor< C >::iterator::operator!= ( const iterator & other) const
inline

Definition at line 45 of file PySTLAdaptor.h.

45{ return m_it != other.m_it; }

◆ operator*()

template<class C>
C::const_iterator::value_type PyDumper::PySTLAdaptor< C >::iterator::operator* ( )
inline

Definition at line 43 of file PySTLAdaptor.h.

43{ return *m_it; }

◆ operator++()

template<class C>
iterator & PyDumper::PySTLAdaptor< C >::iterator::operator++ ( )
inline

Definition at line 44 of file PySTLAdaptor.h.

44{ ++m_it; return *this; }

Member Data Documentation

◆ m_it

template<class C>
C::const_iterator PyDumper::PySTLAdaptor< C >::iterator::m_it
private

Definition at line 47 of file PySTLAdaptor.h.


The documentation for this class was generated from the following file: