![]() |
EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include <EicRoot/blob/master/dbase/dbInterface/FairDbWriter.h>
Collaboration diagram for FairDbWriter< T >:Public Member Functions | |
| FairDbWriter () | |
| FairDbWriter (const ValRange &vr, Int_t aggNo, FairDb::Task task, ValTimeStamp creationDate, const std::string &dbName, const std::string &logComment="", const std::string &tableName="") | |
| FairDbWriter (const ValRange &vr, Int_t aggNo, FairDb::Task task=0, ValTimeStamp creationDate=ValTimeStamp(0, 0), UInt_t dbNo=0, const std::string &logComment="", const std::string &tableName="") | |
| FairDbWriter (const FairDbValidityRec &vrec, const std::string &dbName, const std::string &logComment="") | |
| FairDbWriter (const FairDbValidityRec &vrec, UInt_t dbNo=0, const std::string &logComment="") | |
| virtual | ~FairDbWriter () |
| FairDbTableProxy & | TableProxy () const |
| Bool_t | IsOpen (Bool_t reportErrors=kTRUE) const |
| Open and ready to receive data. | |
| Bool_t | CanOutput (Bool_t reportErrors=kTRUE) const |
| Open and ready to receive/output data. | |
| void | SetDbNo (UInt_t dbNo) |
| void | SetDbName (const string &dbName) |
| void | SetLogComment (const std::string &reason) |
| void | SetRequireGlobalSeqno (Int_t requireGlobal) |
| void | SetOverlayCreationDate () |
| void | Abort () |
| Bool_t | Close (const char *fileSpec=0) |
| Bool_t | Open (const ValRange &vr, Int_t aggNo, FairDb::Task task, ValTimeStamp creationDate, const string &dbName, const std::string &logComment="") |
| Bool_t | Open (const ValRange &vr, Int_t aggNo, FairDb::Task task=0, ValTimeStamp creationDate=ValTimeStamp(), UInt_t dbNo=0, const std::string &logComment="") |
| Bool_t | Open (const FairDbValidityRec &vrec, const string &dbName, const std::string &logComment="") |
| Bool_t | Open (const FairDbValidityRec &vrec, UInt_t dbNo=0, const std::string &logComment="") |
| FairDbWriter< T > & | operator<< (const T &row) |
Private Member Functions | |
| Bool_t | NeedsLogEntry () const |
| Bool_t | WritingToMaster () const |
| FairDbWriter (const FairDbWriter &) | |
| FairDbWriter & | operator= (const FairDbWriter &) |
| void | CompleteOpen (UInt_t dbNo=0, const std::string &logComment="") |
| void | Reset () |
Static Private Member Functions | |
| static FairDbTableProxy & | GetTableProxy () |
| static FairDbTableProxy & | GetTableProxy (const std::string &tableName) |
Private Attributes | |
| Int_t | fAggregateNo |
| Aggregate noumber for set. | |
| UInt_t | fDbNo |
| Database number in cascade. | |
| FairDbSqlValPacket * | fPacket |
| The assembled record to be output. Never null. | |
| Int_t | fRequireGlobalSeqno |
| Controls SEQNO type (see FairDbCascader::AllocateSeqNo) | |
| FairDbTableProxy * | fTableProxy |
| Proxy to associated table. | |
| std::string | fTableName |
| Associated table name. | |
| Bool_t | fUseOverlayCreationDate |
| Use overlay creation date if true. | |
| FairDbValidityRec * | fValidRec |
| Validity record. May be =0 if closed. | |
| FairDbLogEntry | fLogEntry |
| Associated log entry (if any) for update. | |
Definition at line 17 of file FairDbWriter.h.
View newest version in sPHENIX GitHub at line 17 of file FairDbWriter.h
| FairDbWriter< T >::FairDbWriter | ( | ) |
| FairDbWriter< T >::FairDbWriter | ( | const ValRange & | vr, |
| Int_t | aggNo, | ||
| FairDb::Task | task, | ||
| ValTimeStamp | creationDate, | ||
| const std::string & | dbName, | ||
| const std::string & | logComment = "", |
||
| const std::string & | tableName = "" |
||
| ) |
| FairDbWriter< T >::FairDbWriter | ( | const ValRange & | vr, |
| Int_t | aggNo, | ||
| FairDb::Task | task = 0, |
||
| ValTimeStamp | creationDate = ValTimeStamp(0, 0), |
||
| UInt_t | dbNo = 0, |
||
| const std::string & | logComment = "", |
||
| const std::string & | tableName = "" |
||
| ) |
| FairDbWriter< T >::FairDbWriter | ( | const FairDbValidityRec & | vrec, |
| const std::string & | dbName, | ||
| const std::string & | logComment = "" |
||
| ) |
| FairDbWriter< T >::FairDbWriter | ( | const FairDbValidityRec & | vrec, |
| UInt_t | dbNo = 0, |
||
| const std::string & | logComment = "" |
||
| ) |
|
virtual |
|
private |
|
inline |
Definition at line 66 of file FairDbWriter.h.
View newest version in sPHENIX GitHub at line 66 of file FairDbWriter.h
References FairDbWriter< T >::Reset().
Here is the call graph for this function:| Bool_t FairDbWriter< T >::CanOutput | ( | Bool_t | reportErrors = kTRUE | ) | const |
Open and ready to receive/output data.
| Bool_t FairDbWriter< T >::Close | ( | const char * | fileSpec = 0 | ) |
|
private |
|
staticprivate |
|
staticprivate |
| Bool_t FairDbWriter< T >::IsOpen | ( | Bool_t | reportErrors = kTRUE | ) | const |
Open and ready to receive data.
|
private |
| Bool_t FairDbWriter< T >::Open | ( | const ValRange & | vr, |
| Int_t | aggNo, | ||
| FairDb::Task | task, | ||
| ValTimeStamp | creationDate, | ||
| const string & | dbName, | ||
| const std::string & | logComment = "" |
||
| ) |
| Bool_t FairDbWriter< T >::Open | ( | const ValRange & | vr, |
| Int_t | aggNo, | ||
| FairDb::Task | task = 0, |
||
| ValTimeStamp | creationDate = ValTimeStamp(), |
||
| UInt_t | dbNo = 0, |
||
| const std::string & | logComment = "" |
||
| ) |
| Bool_t FairDbWriter< T >::Open | ( | const FairDbValidityRec & | vrec, |
| const string & | dbName, | ||
| const std::string & | logComment = "" |
||
| ) |
| Bool_t FairDbWriter< T >::Open | ( | const FairDbValidityRec & | vrec, |
| UInt_t | dbNo = 0, |
||
| const std::string & | logComment = "" |
||
| ) |
| FairDbWriter<T>& FairDbWriter< T >::operator<< | ( | const T & | row | ) |
|
private |
|
private |
| void FairDbWriter< T >::SetDbName | ( | const string & | dbName | ) |
|
inline |
Definition at line 58 of file FairDbWriter.h.
View newest version in sPHENIX GitHub at line 58 of file FairDbWriter.h
References FairDbWriter< T >::fDbNo.
| void FairDbWriter< T >::SetLogComment | ( | const std::string & | reason | ) |
|
inline |
Definition at line 63 of file FairDbWriter.h.
View newest version in sPHENIX GitHub at line 63 of file FairDbWriter.h
References FairDbWriter< T >::fUseOverlayCreationDate.
Referenced by FairDbConfigStream::Write().
Here is the caller graph for this function:
|
inline |
Definition at line 62 of file FairDbWriter.h.
View newest version in sPHENIX GitHub at line 62 of file FairDbWriter.h
References FairDbWriter< T >::fRequireGlobalSeqno.
Referenced by FairDbConfigStream::Write().
Here is the caller graph for this function:| FairDbTableProxy& FairDbWriter< T >::TableProxy | ( | ) | const |
|
private |
|
private |
Aggregate noumber for set.
Definition at line 111 of file FairDbWriter.h.
View newest version in sPHENIX GitHub at line 111 of file FairDbWriter.h
|
private |
Database number in cascade.
Definition at line 114 of file FairDbWriter.h.
View newest version in sPHENIX GitHub at line 114 of file FairDbWriter.h
Referenced by FairDbWriter< T >::SetDbNo().
|
private |
Associated log entry (if any) for update.
Definition at line 135 of file FairDbWriter.h.
View newest version in sPHENIX GitHub at line 135 of file FairDbWriter.h
|
private |
The assembled record to be output. Never null.
Definition at line 117 of file FairDbWriter.h.
View newest version in sPHENIX GitHub at line 117 of file FairDbWriter.h
|
private |
Controls SEQNO type (see FairDbCascader::AllocateSeqNo)
Definition at line 120 of file FairDbWriter.h.
View newest version in sPHENIX GitHub at line 120 of file FairDbWriter.h
Referenced by FairDbWriter< T >::SetRequireGlobalSeqno().
|
private |
Associated table name.
Definition at line 126 of file FairDbWriter.h.
View newest version in sPHENIX GitHub at line 126 of file FairDbWriter.h
|
private |
Proxy to associated table.
Definition at line 123 of file FairDbWriter.h.
View newest version in sPHENIX GitHub at line 123 of file FairDbWriter.h
|
private |
Use overlay creation date if true.
Definition at line 129 of file FairDbWriter.h.
View newest version in sPHENIX GitHub at line 129 of file FairDbWriter.h
Referenced by FairDbWriter< T >::SetOverlayCreationDate().
|
private |
Validity record. May be =0 if closed.
Definition at line 132 of file FairDbWriter.h.
View newest version in sPHENIX GitHub at line 132 of file FairDbWriter.h