ATLAS Offline Software
Public Types | Public Member Functions | Private Attributes | List of all members
DataModel_detail::DVLIterator< T > Class Template Reference

Implementation for iterator helper. More...

#include <DVLInfo.h>

Inheritance diagram for DataModel_detail::DVLIterator< T >:
Collaboration diagram for DataModel_detail::DVLIterator< T >:

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
 

Detailed Description

template<class T>
class DataModel_detail::DVLIterator< T >

Implementation for iterator helper.

Should be declared before DVLInfo to avoid a (false-positive) [missingReturn] warning from cppcheck.

Definition at line 196 of file DVLInfo.h.

Member Typedef Documentation

◆ base_iterator

template<class T >
typedef T::const_iterator DataModel_detail::DVLIterator< T >::base_iterator

Definition at line 200 of file DVLInfo.h.

Constructor & Destructor Documentation

◆ DVLIterator()

template<class T >
DataModel_detail::DVLIterator< T >::DVLIterator ( const base_iterator beg,
const base_iterator end 
)

Constructor.

Parameters
begStart of the container.
endEnd of the container.

Member Function Documentation

◆ next()

template<class T >
virtual const void* DataModel_detail::DVLIterator< T >::next ( )
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.

Member Data Documentation

◆ m_end

template<class T >
T::const_iterator DataModel_detail::DVLIterator< T >::m_end
private

Definition at line 224 of file DVLInfo.h.

◆ m_it

template<class T >
T::const_iterator DataModel_detail::DVLIterator< T >::m_it
private

Definition at line 223 of file DVLInfo.h.


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