ATLAS Offline Software
|
#include <StorageSvc/DbSelect.h>
Classes | |
struct | Pointer |
struct | Ptr |
Public Member Functions | |
DbSelect (const std::string &crit) | |
Constructor taking selection criteria. More... | |
virtual | ~DbSelect () |
Standard destructor. More... | |
const std::string & | criteria () const |
Access to selection criteria. More... | |
Token::OID_t & | link () const |
Access to link handle. More... | |
void | setStatement (Pointer *p) |
Set selection statement. More... | |
Pointer * | statement () const |
Access to existing selection statement. More... | |
DbDatabase & | database () const |
Access referring database context. More... | |
void | setDatabase (const DbDatabase &dbcH) |
Set database context. More... | |
DbContainer & | container () const |
Access referring container context. More... | |
void | setContainer (DbContainer &cntH) |
Set container context. More... | |
const Guid & | shapeID () const |
Access shape ID. More... | |
void | setShapeID (const Guid &id) |
Set shape ID. More... | |
DbStatus | start (DbDatabase &dbH, const std::string &cntName) |
Start selective iterator over a container in a database. More... | |
DbStatus | next (Token *&refpToken) |
Access the next token of a sequence. More... | |
Private Member Functions | |
DbSelect () | |
No default constructor. More... | |
DbSelect (const DbSelect &)=delete | |
No copy constructor. More... | |
DbSelect & | operator= (const DbSelect &)=delete |
Private Attributes | |
DbSelectContext * | m_context |
Pointer with database context. More... | |
std::string | m_criteria |
String containing the selection criteria. More... | |
Definition of the DbSelect class.
Class encapsulating select statement.
Definition at line 44 of file DbSelect.h.
|
inlineprivate |
pool::DbSelect::DbSelect | ( | const std::string & | crit | ) |
Constructor taking selection criteria.
|
virtual |
Standard destructor.
DbContainer& pool::DbSelect::container | ( | ) | const |
Access referring container context.
|
inline |
DbDatabase& pool::DbSelect::database | ( | ) | const |
Access referring database context.
Token::OID_t& pool::DbSelect::link | ( | ) | const |
Access to link handle.
void pool::DbSelect::setContainer | ( | DbContainer & | cntH | ) |
Set container context.
void pool::DbSelect::setDatabase | ( | const DbDatabase & | dbcH | ) |
Set database context.
void pool::DbSelect::setStatement | ( | Pointer * | p | ) |
Set selection statement.
DbStatus pool::DbSelect::start | ( | DbDatabase & | dbH, |
const std::string & | cntName | ||
) |
Start selective iterator over a container in a database.
Pointer* pool::DbSelect::statement | ( | ) | const |
Access to existing selection statement.
|
private |
Pointer with database context.
Definition at line 59 of file DbSelect.h.
|
private |
String containing the selection criteria.
Definition at line 61 of file DbSelect.h.