EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include <EicRoot/blob/master/dbase/dbInterface/FairDbResult.h>
Public Member Functions | |
FairDbResult (FairDbResultSet *resultSet=0, const FairDbValidityRec *vrec=0, const string &sqlQualifiers="") | |
FairDbResult (const FairDbResult &) | |
virtual | ~FairDbResult () |
virtual Bool_t | CanReuse () const |
virtual Bool_t | CanSave () const |
virtual void | Connect () const |
virtual FairDbResultKey * | CreateKey () const =0 |
virtual void | Disconnect () const |
Int_t | GetID () const |
virtual const FairDbResultKey * | GetKey () const |
virtual UInt_t | GetNumAggregates () const =0 |
virtual UInt_t | GetNumClients () const |
virtual UInt_t | GetNumRows () const =0 |
const string & | GetSqlQualifiers () const |
virtual const FairDbTableRow * | GetTableRow (UInt_t rowNum) const =0 |
virtual const FairDbTableRow * | GetTableRowByIndex (UInt_t index) const |
virtual const FairDbValidityRec & | GetValidityRec (const FairDbTableRow *row=0) const |
virtual const FairDbValidityRec & | GetValidityRecGlobal () const |
Bool_t | IsExtendedContext () const |
virtual Bool_t | Owns (const FairDbTableRow *table) const |
Bool_t | ResultsFromDb () const |
virtual const string & | TableName () const |
virtual Bool_t | CanDelete (const FairDbResult *res=0) |
virtual Bool_t | Satisfies (const ValContext &vc, const FairDb::Task &task) |
virtual Bool_t | Satisfies (const string &) |
virtual Bool_t | Satisfies (const FairDbValidityRec &, const string &="") |
virtual void | DeRegisterKey () |
virtual void | RegisterKey () |
virtual void | Streamer (FairDbBinaryFile &file) |
virtual void | SetCanReuse (Bool_t reuse) |
void | CaptureExceptionLog (UInt_t startFrom) |
Protected Member Functions | |
void | SetResultsFromDb () |
void | BuildLookUpTable () const |
Bool_t | LookUpBuilt () const |
virtual void | SetTableName (const string &tableName) |
virtual void | SetValidityRec (const FairDbValidityRec &vRec) |
Private Attributes | |
Int_t | fID |
Bool_t | fCanReuse |
FairDbValidityRec | fEffVRec |
IndexToRow_t | fIndexKeys |
const FairDbResultKey * | fKey |
Bool_t | fResultsFromDb |
Int_t | fNumClients |
string | fTableName |
string | fSqlQualifiers |
FairDbExceptionLog | fExceptionLog |
Static Private Attributes | |
static Int_t | fgLastID |
Definition at line 176 of file FairDbResult.h.
View newest version in sPHENIX GitHub at line 176 of file FairDbResult.h
FairDbResult::FairDbResult | ( | FairDbResultSet * | resultSet = 0 , |
const FairDbValidityRec * | vrec = 0 , |
||
const string & | sqlQualifiers = "" |
||
) |
Definition at line 798 of file FairDbResult.cxx.
View newest version in sPHENIX GitHub at line 798 of file FairDbResult.cxx
References fEffVRec, fTableName, and FairDbRowStream::TableNameTc().
FairDbResult::FairDbResult | ( | const FairDbResult & | from | ) |
Definition at line 818 of file FairDbResult.cxx.
View newest version in sPHENIX GitHub at line 818 of file FairDbResult.cxx
|
virtual |
Definition at line 834 of file FairDbResult.cxx.
View newest version in sPHENIX GitHub at line 834 of file FairDbResult.cxx
References DeRegisterKey(), and fNumClients.
|
protected |
Definition at line 858 of file FairDbResult.cxx.
View newest version in sPHENIX GitHub at line 858 of file FairDbResult.cxx
References fIndexKeys, FairDbTableRow::GetAggregateNo(), FairDbTableRow::GetIndex(), GetNumRows(), FairDbTableRow::GetOwner(), FairDbValidityRec::GetSeqNo(), GetTableRow(), GetTableRowByIndex(), GetValidityRec(), IsExtendedContext(), and TableName().
Referenced by FairDbResultNonAgg::GetTableRowByIndex(), and FairDbResultNonAgg::Streamer().
|
virtual |
Definition at line 899 of file FairDbResult.cxx.
View newest version in sPHENIX GitHub at line 899 of file FairDbResult.cxx
References CanReuse(), GetNumClients(), GetValidityRec(), and SetCanReuse().
Referenced by FairDbCache::Purge().
|
inlinevirtual |
Definition at line 191 of file FairDbResult.h.
View newest version in sPHENIX GitHub at line 191 of file FairDbResult.h
References fCanReuse.
Referenced by CanDelete(), Satisfies(), FairDbResultAgg::Satisfies(), and FairDbResultNonAgg::Satisfies().
|
inlinevirtual |
Definition at line 192 of file FairDbResult.h.
View newest version in sPHENIX GitHub at line 192 of file FairDbResult.h
Referenced by FairDbTableProxy::SaveToL2Cache().
void FairDbResult::CaptureExceptionLog | ( | UInt_t | startFrom | ) |
Definition at line 845 of file FairDbResult.cxx.
View newest version in sPHENIX GitHub at line 845 of file FairDbResult.cxx
References FairDbExceptionLog::Clear(), FairDbExceptionLog::Copy(), fExceptionLog, and FairDbExceptionLog::GetGELog().
Referenced by FairDbTableProxy::Query().
|
inlinevirtual |
Definition at line 193 of file FairDbResult.h.
View newest version in sPHENIX GitHub at line 193 of file FairDbResult.h
References fNumClients.
|
pure virtual |
Implemented in FairDbResultNonAgg, and FairDbResultAgg.
Referenced by FairDbResultAgg::CreateKey(), and RegisterKey().
|
virtual |
Definition at line 909 of file FairDbResult.cxx.
View newest version in sPHENIX GitHub at line 909 of file FairDbResult.cxx
References fKey.
Referenced by ~FairDbResult().
|
inlinevirtual |
Definition at line 195 of file FairDbResult.h.
View newest version in sPHENIX GitHub at line 195 of file FairDbResult.h
References fNumClients.
|
inline |
Definition at line 196 of file FairDbResult.h.
View newest version in sPHENIX GitHub at line 196 of file FairDbResult.h
References fID.
|
virtual |
Definition at line 925 of file FairDbResult.cxx.
View newest version in sPHENIX GitHub at line 925 of file FairDbResult.cxx
References fKey, and FairDbResultKey::GetEmptyKey().
Referenced by FairDbCache::Adopt().
|
pure virtual |
Implemented in FairDbResultNonAgg, and FairDbResultAgg.
Referenced by FairDbCache::Search().
|
inlinevirtual |
Definition at line 199 of file FairDbResult.h.
View newest version in sPHENIX GitHub at line 199 of file FairDbResult.h
References fNumClients.
Referenced by CanDelete(), FairDbCache::Purge(), and Satisfies().
|
pure virtual |
Implemented in FairDbResultNonAgg, and FairDbResultAgg.
Referenced by BuildLookUpTable(), FairDbValRecSet::GetNumRows(), RegisterKey(), FairDbTableProxy::SaveToL2Cache(), and FairDbCache::Search().
|
inline |
Definition at line 203 of file FairDbResult.h.
View newest version in sPHENIX GitHub at line 203 of file FairDbResult.h
References fSqlQualifiers.
Referenced by IsExtendedContext(), FairDbResultAgg::Satisfies(), and FairDbResultNonAgg::Satisfies().
|
pure virtual |
Implemented in FairDbResultNonAgg, and FairDbResultAgg.
Referenced by BuildLookUpTable(), and FairDbValRecSet::GetTableRow().
|
virtual |
Reimplemented in FairDbResultNonAgg.
Definition at line 932 of file FairDbResult.cxx.
View newest version in sPHENIX GitHub at line 932 of file FairDbResult.cxx
References fIndexKeys.
Referenced by BuildLookUpTable(), and FairDbResultNonAgg::GetTableRowByIndex().
|
inlinevirtual |
Reimplemented in FairDbResultAgg.
Definition at line 206 of file FairDbResult.h.
View newest version in sPHENIX GitHub at line 206 of file FairDbResult.h
References GetValidityRecGlobal().
Referenced by FairDbCache::Adopt(), BuildLookUpTable(), CanDelete(), FairDbResultAgg::CreateKey(), FairDbResultNonAgg::CreateKey(), FairDbCache::Purge(), Satisfies(), and FairDbResultNonAgg::Satisfies().
|
inlinevirtual |
Definition at line 210 of file FairDbResult.h.
View newest version in sPHENIX GitHub at line 210 of file FairDbResult.h
References fEffVRec.
Referenced by FairDbCache::Adopt(), GetValidityRec(), FairDbResultAgg::GetValidityRec(), and FairDbResultAgg::Streamer().
|
inline |
Definition at line 213 of file FairDbResult.h.
View newest version in sPHENIX GitHub at line 213 of file FairDbResult.h
References GetSqlQualifiers().
Referenced by BuildLookUpTable(), and Satisfies().
|
inlineprotected |
Definition at line 237 of file FairDbResult.h.
View newest version in sPHENIX GitHub at line 237 of file FairDbResult.h
References fIndexKeys.
Referenced by FairDbResultNonAgg::GetTableRowByIndex().
|
inlinevirtual |
Reimplemented in FairDbResultNonAgg.
Definition at line 216 of file FairDbResult.h.
View newest version in sPHENIX GitHub at line 216 of file FairDbResult.h
|
virtual |
Definition at line 939 of file FairDbResult.cxx.
View newest version in sPHENIX GitHub at line 939 of file FairDbResult.cxx
References CreateKey(), fKey, and GetNumRows().
Referenced by FairDbCache::Adopt().
|
inline |
Definition at line 217 of file FairDbResult.h.
View newest version in sPHENIX GitHub at line 217 of file FairDbResult.h
References fResultsFromDb.
Referenced by FairDbTableProxy::SaveToL2Cache().
|
virtual |
Definition at line 962 of file FairDbResult.cxx.
View newest version in sPHENIX GitHub at line 962 of file FairDbResult.cxx
References CanReuse(), GetNumClients(), GetValidityRec(), FairDbValidityRec::HasExpired(), FairDbValidityRec::IsCompatible(), IsExtendedContext(), and SetCanReuse().
Referenced by FairDbCache::Search().
|
inlinevirtual |
Reimplemented in FairDbResultAgg.
Definition at line 224 of file FairDbResult.h.
View newest version in sPHENIX GitHub at line 224 of file FairDbResult.h
|
inlinevirtual |
Reimplemented in FairDbResultNonAgg.
Definition at line 225 of file FairDbResult.h.
View newest version in sPHENIX GitHub at line 225 of file FairDbResult.h
|
inlinevirtual |
Definition at line 232 of file FairDbResult.h.
View newest version in sPHENIX GitHub at line 232 of file FairDbResult.h
References fCanReuse.
Referenced by CanDelete(), FairDbTableProxy::Query(), and Satisfies().
|
inlineprotected |
Definition at line 235 of file FairDbResult.h.
View newest version in sPHENIX GitHub at line 235 of file FairDbResult.h
References fResultsFromDb.
|
inlineprotectedvirtual |
Definition at line 238 of file FairDbResult.h.
View newest version in sPHENIX GitHub at line 238 of file FairDbResult.h
References fTableName.
|
inlineprotectedvirtual |
Definition at line 241 of file FairDbResult.h.
View newest version in sPHENIX GitHub at line 241 of file FairDbResult.h
References fEffVRec.
|
virtual |
Reimplemented in FairDbResultNonAgg, and FairDbResultAgg.
Definition at line 997 of file FairDbResult.cxx.
View newest version in sPHENIX GitHub at line 997 of file FairDbResult.cxx
References fCanReuse, fEffVRec, fNumClients, fResultsFromDb, fTableName, FairDbBinaryFile::IsReading(), FairDbBinaryFile::IsWriting(), and FairDbValidityRec::Streamer().
Referenced by operator<<(), operator>>(), and FairDbResultNonAgg::Streamer().
|
inlinevirtual |
Definition at line 218 of file FairDbResult.h.
View newest version in sPHENIX GitHub at line 218 of file FairDbResult.h
References fTableName.
Referenced by FairDbCache::Adopt(), BuildLookUpTable(), FairDbResultNonAgg::CreateKey(), FairDbValRecSet::GetTableName(), and FairDbCache::Purge().
|
private |
Definition at line 251 of file FairDbResult.h.
View newest version in sPHENIX GitHub at line 251 of file FairDbResult.h
Referenced by CanReuse(), SetCanReuse(), and Streamer().
|
private |
Definition at line 252 of file FairDbResult.h.
View newest version in sPHENIX GitHub at line 252 of file FairDbResult.h
Referenced by FairDbResult(), GetValidityRecGlobal(), SetValidityRec(), and Streamer().
|
private |
Definition at line 260 of file FairDbResult.h.
View newest version in sPHENIX GitHub at line 260 of file FairDbResult.h
Referenced by CaptureExceptionLog().
|
staticprivate |
Definition at line 259 of file FairDbResult.h.
View newest version in sPHENIX GitHub at line 259 of file FairDbResult.h
|
private |
Definition at line 250 of file FairDbResult.h.
View newest version in sPHENIX GitHub at line 250 of file FairDbResult.h
Referenced by GetID().
|
mutableprivate |
Definition at line 253 of file FairDbResult.h.
View newest version in sPHENIX GitHub at line 253 of file FairDbResult.h
Referenced by BuildLookUpTable(), GetTableRowByIndex(), and LookUpBuilt().
|
private |
Definition at line 254 of file FairDbResult.h.
View newest version in sPHENIX GitHub at line 254 of file FairDbResult.h
Referenced by DeRegisterKey(), GetKey(), and RegisterKey().
|
mutableprivate |
Definition at line 256 of file FairDbResult.h.
View newest version in sPHENIX GitHub at line 256 of file FairDbResult.h
Referenced by Connect(), Disconnect(), GetNumClients(), Streamer(), and ~FairDbResult().
|
private |
Definition at line 255 of file FairDbResult.h.
View newest version in sPHENIX GitHub at line 255 of file FairDbResult.h
Referenced by ResultsFromDb(), SetResultsFromDb(), and Streamer().
|
private |
Definition at line 258 of file FairDbResult.h.
View newest version in sPHENIX GitHub at line 258 of file FairDbResult.h
Referenced by GetSqlQualifiers().
|
private |
Definition at line 257 of file FairDbResult.h.
View newest version in sPHENIX GitHub at line 257 of file FairDbResult.h
Referenced by FairDbResult(), SetTableName(), Streamer(), and TableName().