ATLAS Offline Software
|
#include <CaloCellPrefetchIterator.h>
Public Types | |
typedef T | base_iterator |
The base iterator, on which we're templated. More... | |
using | iterator_category = std::forward_iterator_tag |
using | value_type = const CaloCell * |
using | difference_type = std::ptrdiff_t |
using | pointer = value_type * |
using | reference = value_type & |
typedef CaloEvent_detail::paramholder< T, typename T::iterator_category > | paramholder |
The base paramholder class. More... | |
Public Member Functions | |
CaloCellPrefetchIterator (const base_iterator &begin, const base_iterator &end) | |
Constructor. More... | |
template<class CONTAINER > | |
CaloCellPrefetchIterator (const CONTAINER &cont) | |
Constructor, from a container. More... | |
bool | next () |
Move to the next element. More... | |
const CaloCell * | operator* () const |
Dereference the iterator. More... | |
param_t | getParameter () const |
Get this from the base class. More... | |
Private Member Functions | |
void | init () |
Initialize before first use. More... | |
Private Attributes | |
const CaloCell * | m_cellp |
Current cell pointer. More... | |
const CaloCell * | m_next_cellp |
Next cell pointer. More... | |
T | m_it |
Current iterator. Points at the next element. More... | |
T | m_end |
End iterator. More... | |
Definition at line 25 of file CaloCellPrefetchIterator.h.
typedef T CaloCellPrefetchIterator< T >::base_iterator |
The base iterator, on which we're templated.
Definition at line 163 of file CaloCellPrefetchIterator.h.
using CaloCellPrefetchIterator< T >::difference_type = std::ptrdiff_t |
Definition at line 167 of file CaloCellPrefetchIterator.h.
using CaloCellPrefetchIterator< T >::iterator_category = std::forward_iterator_tag |
Definition at line 165 of file CaloCellPrefetchIterator.h.
typedef CaloEvent_detail::paramholder<T, typename T::iterator_category> CaloCellPrefetchIterator< T >::paramholder |
The base paramholder class.
Definition at line 173 of file CaloCellPrefetchIterator.h.
using CaloCellPrefetchIterator< T >::pointer = value_type* |
Definition at line 168 of file CaloCellPrefetchIterator.h.
using CaloCellPrefetchIterator< T >::reference = value_type& |
Definition at line 169 of file CaloCellPrefetchIterator.h.
using CaloCellPrefetchIterator< T >::value_type = const CaloCell* |
Definition at line 166 of file CaloCellPrefetchIterator.h.
CaloCellPrefetchIterator< T >::CaloCellPrefetchIterator | ( | const base_iterator & | begin, |
const base_iterator & | end | ||
) |
Constructor.
begin | Underlying begin iterator. |
end | Underlying end iterator. |
CaloCellPrefetchIterator< T >::CaloCellPrefetchIterator | ( | const CONTAINER & | cont | ) |
Constructor, from a container.
cont | Container over which to iterate. |
param_t CaloEvent_detail::paramholder< T, TAG >::getParameter |
Get this from the base class.
|
private |
Initialize before first use.
bool CaloCellPrefetchIterator< T >::next | ( | ) |
Move to the next element.
Returns true if more elements, false otherwise. This should be called before processing the first element.
const CaloCell* CaloCellPrefetchIterator< T >::operator* | ( | ) | const |
Dereference the iterator.
|
private |
Current cell pointer.
Definition at line 216 of file CaloCellPrefetchIterator.h.
|
private |
End iterator.
Definition at line 225 of file CaloCellPrefetchIterator.h.
|
private |
Current iterator. Points at the next element.
Definition at line 222 of file CaloCellPrefetchIterator.h.
|
private |
Next cell pointer.
Definition at line 219 of file CaloCellPrefetchIterator.h.