![]() |
ATLAS Offline Software
|
Iterator class. More...
#include <ConcurrentPtrSet.h>
Public Member Functions | |
const_iterator (typename Impl_t::const_iterator it) | |
Constructor. More... | |
bool | valid () const |
Test if this iterator is valid. More... | |
Private Member Functions | |
void | increment () |
iterator_facade requirement: Increment the iterator. More... | |
void | decrement () |
iterator_facade requirement: Decrement the iterator. More... | |
bool | equal (const const_iterator &other) const |
iterator_facade requirement: Equality test. More... | |
key_type | dereference () const |
iterator_facade requirement: Dereference the iterator. More... | |
Private Attributes | |
Impl_t::const_iterator | m_impl |
The iterator on the underlying table. More... | |
Friends | |
class | boost::iterator_core_access |
Required by iterator_facade. More... | |
Iterator class.
This uses boost::iterator_facade to define the methods required by an STL iterator in terms of the private methods below.
Since dereference() will be returning a const_iterator_value by value, we also need to override the reference type.
Definition at line 193 of file ConcurrentPtrSet.h.
CxxUtils::ConcurrentPtrSet< VALUE, UPDATER >::const_iterator::const_iterator | ( | typename Impl_t::const_iterator | it | ) |
Constructor.
it | Iterator of the underlying table. |
|
private |
iterator_facade requirement: Decrement the iterator.
|
private |
iterator_facade requirement: Dereference the iterator.
|
private |
iterator_facade requirement: Equality test.
|
private |
iterator_facade requirement: Increment the iterator.
bool CxxUtils::ConcurrentPtrSet< VALUE, UPDATER >::const_iterator::valid | ( | ) | const |
|
friend |
Required by iterator_facade.
Definition at line 217 of file ConcurrentPtrSet.h.
|
private |
The iterator on the underlying table.
Definition at line 245 of file ConcurrentPtrSet.h.