|
ATLAS Offline Software
|
Go to the documentation of this file.
59 {
return m_obj.ptr() == iter.m_obj.ptr(); }
103 template <
class T>
inline
121 m_token.oid().second++;
122 if ( m_cnt.loadNext(objH, m_token.
oid(),
m_type).isSuccess() ) {
123 m_obj._setObject(
static_cast<T*
>(objH.ptr()));
129 #endif // POOL_DBITER_H
Token m_token
Current cursor for the loop.
DbHandle< T > & operator*()
Dereference operator.
const Token * token() const
Access to cursor token.
bool isValid() const
Check validity.
DbIter(DbAccessMode mode=pool::READ)
Constructor with initializing arguments.
DbIter(const DbIter &c)
Copy constructor.
const DbHandle< T > & handle() const
Access to current object handle (CONST)
const DbTypeInfo * m_type
Object type used for this scan.
const DbType & type() const
Inquire storage type of the handle.
DbHandle< T > m_obj
Handle to current object.
DbHandle< T > & operator->()
Dereference operator.
This class provides a token that identifies in a unique way objects on the persistent storage.
void _setType(const DbType &type)
Set handle type.
virtual ~DbIter()
Destructor.
const T * object() const
Dereference operator.
DbAccessMode m_mode
Data access type (Default to READ)
const Token::OID_t & oid() const
Access object oid.
DbContainer m_cnt
Handle to container object.
DbIter & operator=(const DbIter ©)
Assignment operator.
DbHandle< T > & handle()
Access to current object handle.
bool isValid() const
Validity check (Objy like)
const DbContainer & container() const
Access to container handler.
Error
The different types of error that can be flagged in the L1TopoRDO.
DbStatus next()
Retrieve next element.
bool operator==(const DbIter< T > &iter) const
Equality operator.
DbStatus scan(const DbContainer &cntH, const DbTypeInfo *typ)
Scan the container.