|
ATLAS Offline Software
|
Go to the documentation of this file.
13 #ifndef STOREGATE_SGITERATOR_H
14 #define STOREGATE_SGITERATOR_H
21 #include <boost/iterator/iterator_facade.hpp>
42 friend class ::SGImplSvc;
128 const std::string&
key()
const;
156 template <
class DATA>
159 public boost::iterator_facade<
162 boost::forward_traversal_tag >
222 template <
class DATA>
225 public boost::iterator_facade<
228 boost::forward_traversal_tag >
DataProxy * proxy() const
The proxy pointed at by this iterator.
StatusCode setState(const SG::ConstProxyIterator &itr, const SG::ConstProxyIterator &itrEnd)
Reset state of the iterator.
const std::string & key() const
Get the key string with which the current object was stored.
friend class boost::iterator_core_access
const DATA & dereference() const
Dereference the iterator.
StatusCode setState(SG::ConstProxyIterator itr, SG::ConstProxyIterator itrEnd, bool isConst)
Reset state of the iterator.
DATA & dereference() const
Dereference the iterator.
IteratorBase & operator=(const IteratorBase &other)
Assignment.
std::vector< SG::DataProxy * > m_proxies
All proxies in our range, in reverse order.
void increment()
Move to the next valid proxy.
~IteratorBase()
Destructor.
Exceptions that can be thrown from StoreGate.
Iterator()
Default constructor.
::StatusCode StatusCode
StatusCode definition for legacy code.
Iterator(const SG::ConstProxyIterator &itr, const SG::ConstProxyIterator &itrEnd)
Constructor from proxy iterator pair.
IteratorBase()
Default constructor.
The Athena Transient Store API.
ConstIterator(const SG::ConstProxyIterator &itr, const SG::ConstProxyIterator &itrEnd)
Constructor from proxy iterator pair.
bool eql(const IteratorBase &rhs) const
Equality check.
ConstIterator()
Default constructor.
void const_check() const
Const check: throw an exception if we're pointing at a const proxy.
bool equal(const ConstIterator &rhs) const
Equality check.
StatusCode setState(const SG::ConstProxyIterator &itr, const SG::ConstProxyIterator &itrEnd)
Reset state of the iterator.
bool equal(const Iterator< DATA > &rhs) const
Equality check.
void release()
Remove a reference count from all proxies in our range.
friend class boost::iterator_core_access
friend class boost::iterator_core_access
ProxyMap::const_iterator ConstProxyIterator
void addRef()
Add a reference count to all proxies in our range.