|
ATLAS Offline Software
|
Go to the documentation of this file.
14 #ifndef POOL_DBSELECT_H
15 #define POOL_DBSELECT_H
31 class DbSelectContext;
49 virtual const std::type_info&
type()
const = 0;
55 virtual const std::type_info&
type()
const {
return typeid(T); }
98 #endif // POOL_DBSELECT_H
DbStatus start(DbDatabase &dbH, const std::string &cntName)
Start selective iterator over a container in a database.
DbSelect(const std::string &crit)
Constructor taking selection criteria.
DbSelect()
No default constructor.
std::string m_criteria
String containing the selection criteria.
DbDatabase & database() const
Access referring database context.
DbStatus next(Token *&refpToken)
Access the next token of a sequence.
DbSelect(const DbSelect &)=delete
No copy constructor.
void setDatabase(const DbDatabase &dbcH)
Set database context.
DbSelect & operator=(const DbSelect &)=delete
DbStatus deletePtr(T *&p)
Delete a pointer.
void setShapeID(const Guid &id)
Set shape ID.
virtual const std::type_info & type() const
This class provides a token that identifies in a unique way objects on the persistent storage.
Pointer * statement() const
Access to existing selection statement.
DbContainer & container() const
Access referring container context.
void setStatement(Pointer *p)
Set selection statement.
virtual const std::type_info & type() const =0
This class provides a encapsulation of a GUID/UUID/CLSID/IID data structure (128 bit number).
DbSelectContext * m_context
Pointer with database context.
virtual ~DbSelect()
Standard destructor.
const std::string & criteria() const
Access to selection criteria.
Token::OID_t & link() const
Access to link handle.
This file contains the class definition for the Token class (migrated from POOL).
void setContainer(DbContainer &cntH)
Set container context.
const Guid & shapeID() const
Access shape ID.