36 while (itr != itrEnd) {
39 if (dp->isValid() && (isConst || !dp->isConst())) {
101 while (itr != itrEnd) {
104 if (dp->isValid() && (isConst || !dp->isConst())) {
111 return StatusCode::FAILURE;
114 return StatusCode::SUCCESS;
147 store ? store->
name() :
"(unknown)");
A standard conforming forward iterator over items in StoreGate.
virtual const std::string & name() const override
Exception — Tried to retrieve non-const pointer to const object.
Implementation class, not to be used directly Iterates over valid proxies it the range.
std::vector< SG::DataProxy * > m_proxies
All proxies in our range, in reverse order.
const std::string & key() const
Get the key string with which the current object was stored.
DataProxy * proxy() const
The proxy pointed at by this iterator.
void increment()
Move to the next valid proxy.
~IteratorBase()
Destructor.
IteratorBase & operator=(const IteratorBase &other)
Assignment.
void const_check() const
Const check: throw an exception if we're pointing at a const proxy.
IteratorBase()
Default constructor.
StatusCode setState(SG::ConstProxyIterator itr, SG::ConstProxyIterator itrEnd, bool isConst)
Reset state of the iterator.
void addRef()
Add a reference count to all proxies in our range.
static std::string release
ProxyMap::const_iterator ConstProxyIterator