ATLAS Offline Software
|
Implementation for iterator helper. More...
#include <DVLInfo.h>
Public Types | |
typedef T::const_iterator | base_iterator |
Public Member Functions | |
DVLIterator (const base_iterator &beg, const base_iterator &end) | |
Constructor. More... | |
virtual const void * | next () |
Return the next element from the container. More... | |
Private Attributes | |
T::const_iterator | m_it |
T::const_iterator | m_end |
Implementation for iterator helper.
Should be declared before DVLInfo to avoid a (false-positive) [missingReturn] warning from cppcheck.
typedef T::const_iterator DataModel_detail::DVLIterator< T >::base_iterator |
DataModel_detail::DVLIterator< T >::DVLIterator | ( | const base_iterator & | beg, |
const base_iterator & | end | ||
) |
Constructor.
beg | Start of the container. |
end | End of the container. |
|
virtual |
Return the next element from the container.
This is the next pointer from the container (it's a pointer to the element itself, not a pointer to the pointer). It will be properly cast to the type described by elt_tinfo(). Null pointers are skipped; this function signals the end of iteration by returning 0.
Implements DataModel_detail::DVLIteratorBase.
|
private |
|
private |