|  | ATLAS Offline Software
    | 
#include <SGIterator.h>
| Public Member Functions | |
| ConstIterator () | |
| Default constructor.  More... | |
| ConstIterator (const SG::ConstProxyIterator &itr, const SG::ConstProxyIterator &itrEnd) | |
| Constructor from proxy iterator pair.  More... | |
| StatusCode | setState (const SG::ConstProxyIterator &itr, const SG::ConstProxyIterator &itrEnd) | 
| Reset state of the iterator.  More... | |
| DataProxy * | proxy () const | 
| The proxy pointed at by this iterator.  More... | |
| const std::string & | key () const | 
| Get the key string with which the current object was stored.  More... | |
| Protected Member Functions | |
| StatusCode | setState (SG::ConstProxyIterator itr, SG::ConstProxyIterator itrEnd, bool isConst) | 
| Reset state of the iterator.  More... | |
| void | increment () | 
| Move to the next valid proxy.  More... | |
| bool | eql (const IteratorBase &rhs) const | 
| Equality check.  More... | |
| void | const_check () const | 
| Const check: throw an exception if we're pointing at a const proxy.  More... | |
| Private Member Functions | |
| bool | equal (const ConstIterator &rhs) const | 
| Equality check.  More... | |
| const DATA & | dereference () const | 
| Dereference the iterator.  More... | |
| void | addRef () | 
| Add a reference count to all proxies in our range.  More... | |
| void | release () | 
| Remove a reference count from all proxies in our range.  More... | |
| Private Attributes | |
| std::vector< SG::DataProxy * > | m_proxies | 
| All proxies in our range, in reverse order.  More... | |
| Friends | |
| class | boost::iterator_core_access | 
a const_iterator facade to DataHandle. Behaves like a forward iterator
Definition at line 158 of file SGIterator.h.
| SG::ConstIterator< DATA >::ConstIterator | ( | ) | 
Default constructor.
| 
 | explicit | 
Constructor from proxy iterator pair.
| itr | Starting proxy iterator. | 
| itrEnd | Ending proxy iterator. | 
Will skip ahead to the first valid proxy.
| 
 | privateinherited | 
Add a reference count to all proxies in our range.
| 
 | protectedinherited | 
Const check: throw an exception if we're pointing at a const proxy.
Called when dereferencing a non-const iterator.
Definition at line 137 of file SGIterator.cxx.
| 
 | private | 
Dereference the iterator.
Used by the boost iterator adapter.
Will throw SG::ExcInvalidIterator() if the proxy is not valid.
| 
 | protectedinherited | 
Equality check.
| 
 | private | 
Equality check.
Used by the boost iterator adapter.
| 
 | protectedinherited | 
Move to the next valid proxy.
Used by the boost iterator adapter.
Definition at line 123 of file SGIterator.cxx.
| 
 | inherited | 
Get the key string with which the current object was stored.
Definition at line 155 of file SGIterator.cxx.
| 
 | inherited | 
The proxy pointed at by this iterator.
| 
 | privateinherited | 
Remove a reference count from all proxies in our range.
| StatusCode SG::ConstIterator< DATA >::setState | ( | const SG::ConstProxyIterator & | itr, | 
| const SG::ConstProxyIterator & | itrEnd | ||
| ) | 
Reset state of the iterator.
| itr | Starting proxy iterator. | 
| itrEnd | Ending proxy iterator. | 
Will skip ahead to the first valid proxy. Will return failure if the range is empty.
| 
 | protectedinherited | 
Reset state of the iterator.
| itr | Starting proxy iterator. | 
| itrEnd | Ending proxy iterator. | 
| isConst | Is this for a const iterator? | 
Will skip ahead to the first valid proxy. Returns FAILURE if the range is empty.
Definition at line 94 of file SGIterator.cxx.
| 
 | friend | 
Definition at line 197 of file SGIterator.h.
| 
 | privateinherited | 
All proxies in our range, in reverse order.
Definition at line 146 of file SGIterator.h.
 1.8.18
 1.8.18