|
ATLAS Offline Software
|
Go to the documentation of this file.
36 while (itr != itrEnd) {
39 if (
dp->isValid() && (isConst || !
dp->isConst())) {
40 m_proxies.push_back (
dp);
51 : m_proxies (
other.m_proxies)
77 m_proxies =
other.m_proxies;
101 while (itr != itrEnd) {
104 if (
dp->isValid() && (isConst || !
dp->isConst())) {
105 m_proxies.push_back (
dp);
110 if (m_proxies.empty()) {
111 return StatusCode::FAILURE;
114 return StatusCode::SUCCESS;
125 if (!m_proxies.empty()) {
126 m_proxies.back()->release();
127 m_proxies.pop_back();
157 return m_proxies.back()->name();
bool isConst() const
Check if it is a const object.
const std::string & key() const
Get the key string with which the current object was stored.
A standard conforming forward iterator over items in StoreGate.
StatusCode setState(SG::ConstProxyIterator itr, SG::ConstProxyIterator itrEnd, bool isConst)
Reset state of the iterator.
IteratorBase & operator=(const IteratorBase &other)
Assignment.
void increment()
Move to the next valid proxy.
~IteratorBase()
Destructor.
::StatusCode StatusCode
StatusCode definition for legacy code.
IteratorBase()
Default constructor.
Exception — Tried to retrieve non-const pointer to const object.
void const_check() const
Const check: throw an exception if we're pointing at a const proxy.
ProxyMap::const_iterator ConstProxyIterator
void addRef()
Add a reference count to all proxies in our range.