![]() |
ATLAS Offline Software
|
Const iterator class. More...
#include <ConcurrentStrToValMap.h>
Public Member Functions | |
| const_iterator (typename Impl_t::const_iterator it) | |
| Constructor. | |
| const_iterator (const iterator &other) | |
| Conversion from non-const iterator (for interoperability). | |
| bool | valid () const |
| Test if this iterator is valid. | |
Private Member Functions | |
| void | increment () |
| iterator_facade requirement: Increment the iterator. | |
| void | decrement () |
| iterator_facade requirement: Decrement the iterator. | |
| bool | equal (const const_iterator &other) const |
| iterator_facade requirement: Equality test. | |
| bool | equal (const iterator &other) const |
| iterator_facade requirement: Equality test. | |
| const const_iterator_value | dereference () const |
| iterator_facade requirement: Dereference the iterator. | |
Private Attributes | |
| Impl_t::const_iterator | m_impl |
| The iterator on the underlying table. | |
Friends | |
| class | boost::iterator_core_access |
| Required by iterator_facade. | |
| class | iterator |
Const 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 215 of file ConcurrentStrToValMap.h.
| CxxUtils::ConcurrentStrToValMap< VALUE, UPDATER >::const_iterator::const_iterator | ( | typename Impl_t::const_iterator | it | ) |
Constructor.
| it | Iterator of the underlying table. |
| CxxUtils::ConcurrentStrToValMap< VALUE, UPDATER >::const_iterator::const_iterator | ( | const iterator & | other | ) |
Conversion from non-const iterator (for interoperability).
| other | The other iterator. |
|
private |
iterator_facade requirement: Decrement the iterator.
|
private |
iterator_facade requirement: Dereference the iterator.
|
private |
iterator_facade requirement: Equality test.
|
private |
iterator_facade requirement: Equality test.
(Interoperability.)
|
private |
iterator_facade requirement: Increment the iterator.
| bool CxxUtils::ConcurrentStrToValMap< VALUE, UPDATER >::const_iterator::valid | ( | ) | const |
|
friend |
Required by iterator_facade.
Definition at line 246 of file ConcurrentStrToValMap.h.
Definition at line 247 of file ConcurrentStrToValMap.h.
|
private |
The iterator on the underlying table.
Definition at line 281 of file ConcurrentStrToValMap.h.