ATLAS Offline Software
Public Member Functions | List of all members
CaloClusterMomentStore::CaloClusterMomentIterator Class Reference

Internally used iterator. More...

#include <CaloClusterMomentStore.h>

Collaboration diagram for CaloClusterMomentStore::CaloClusterMomentIterator:

Public Member Functions

 CaloClusterMomentIterator () ATH_CLING_BODY(
 Default constructor. More...
 
 CaloClusterMomentIterator (moment_store_const_iter iStore) ~CaloClusterMomentIterator() ATH_CLING_BODY(
 Useful constructor. More...
 
CaloClusterMomentIterator next () CaloClusterMomentIterator operator++()
 Iterator advance method. More...
 
CaloClusterMomentIterator operator++ (int)
 Iterator prior advance operator. More...
 
CaloClusterMomentIterator prev () CaloClusterMomentIterator operator--()
 Iterator reverse method. More...
 
CaloClusterMomentIterator operator-- (int)
 Iterator prior reverse operator. More...
 
bool operator== (const CaloClusterMomentIterator &anOtherIter) const bool operator
 Equality comparator. More...
 

Detailed Description

Internally used iterator.

Definition at line 53 of file CaloClusterMomentStore.h.

Constructor & Destructor Documentation

◆ CaloClusterMomentIterator() [1/2]

CaloClusterMomentStore::CaloClusterMomentIterator::CaloClusterMomentIterator ( )
inline

Default constructor.

Definition at line 57 of file CaloClusterMomentStore.h.

57 { } )

◆ CaloClusterMomentIterator() [2/2]

CaloClusterMomentStore::CaloClusterMomentIterator::CaloClusterMomentIterator ( moment_store_const_iter  iStore)
inline

Useful constructor.

Destructor

Definition at line 59 of file CaloClusterMomentStore.h.

60  : m_actual(iStore) { } )
62 #ifdef __clang__
64 #else

Member Function Documentation

◆ next()

CaloClusterMomentIterator CaloClusterMomentStore::CaloClusterMomentIterator::next ( )
inline

Iterator advance method.

Iterator post advance operator

Definition at line 69 of file CaloClusterMomentStore.h.

70  { ++m_actual; return *this; } )
72  CaloClusterMomentIterator operator++() { return this->next(); }

◆ operator++()

CaloClusterMomentIterator CaloClusterMomentStore::CaloClusterMomentIterator::operator++ ( int  )
inline

Iterator prior advance operator.

Definition at line 74 of file CaloClusterMomentStore.h.

74 { return this->next(); }

◆ operator--()

CaloClusterMomentIterator CaloClusterMomentStore::CaloClusterMomentIterator::operator-- ( int  )
inline

Iterator prior reverse operator.

Definition at line 82 of file CaloClusterMomentStore.h.

82 { return this->prev(); }

◆ operator==()

bool CaloClusterMomentStore::CaloClusterMomentIterator::operator== ( const CaloClusterMomentIterator anOtherIter) const

Equality comparator.

Parameters
anOtherIterreference to non-modifiable iterator to be compared to

Equality comparator

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Parameters
anOtherIterreference to modifiable iterator to be compared to

◆ prev()

CaloClusterMomentIterator CaloClusterMomentStore::CaloClusterMomentIterator::prev ( )
inline

Iterator reverse method.

Iterator post reverse operator

Definition at line 77 of file CaloClusterMomentStore.h.

78  { --m_actual; return *this; } )
80  CaloClusterMomentIterator operator--() { return this->prev(); }

The documentation for this class was generated from the following file:
ATH_CLING_BODY
#define ATH_CLING_BODY(BODY)
Definition: CaloClusterMomentStore.h:49
CaloClusterMomentStore::CaloClusterMomentIterator::prev
CaloClusterMomentIterator prev() CaloClusterMomentIterator operator--()
Iterator reverse method.
Definition: CaloClusterMomentStore.h:77
CaloClusterMomentStore::CaloClusterMomentIterator::CaloClusterMomentIterator
CaloClusterMomentIterator() ATH_CLING_BODY(
Default constructor.
Definition: CaloClusterMomentStore.h:57
CaloClusterMomentStore::CaloClusterMomentIterator::next
CaloClusterMomentIterator next() CaloClusterMomentIterator operator++()
Iterator advance method.
Definition: CaloClusterMomentStore.h:69