#include "/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/N21-01-23/Database/cxx/include/Row.h"
Public Member Functions | |
Row (int ncol) | |
Row (const std::vector< Column > &) | |
Row (std::vector< ColumnDef > &) | |
~Row () | |
void | Clear () |
template<class T > | |
bool | Set (int idx, T value) |
template<class T > | |
bool | Update (int idx, T value) |
bool | InDB () |
void | SetInDB () |
int | NModified () |
int | NCol () |
Column & | Col (int i) |
Find index of column with name. Suitable for passing to Col. More... | |
unsigned long long | Channel () |
time_t | VldTime () |
time_t | VldTimeEnd () |
bool | IsVldRow () |
bool | SetChannel (unsigned long long ch) |
bool | SetVldTime (time_t t) |
bool | SetVldTimeEnd (time_t t) |
Private Attributes | |
bool | fInDB |
bool | fIsVldRow |
int | fNModified |
unsigned long long | fChannel |
time_t | fVldTime |
time_t | fVldTimeEnd |
std::vector< Column > | fCol |
Friends | |
std::ostream & | operator<< (std::ostream &stream, const Row &row) |
|
inline |
nova::dbi::Row::Row | ( | const std::vector< Column > & | col | ) |
nova::dbi::Row::Row | ( | std::vector< ColumnDef > & | col | ) |
|
inline |
Definition at line 68 of file Row.h.
References fChannel.
Referenced by nova::dbi::Table::FillChanRowMap(), cmap::CMap::LoadExceptions(), calib::TimingCache::LoadFromDatabase(), calib::AttenCache::LoadFromDatabaseUncalibratedMask(), calib::AbsCache::LoadFromVldDatabase(), and nova::dbi::Table::MakeValidityCSVString().
void nova::dbi::Row::Clear | ( | ) |
Definition at line 89 of file Row.cpp.
References fCol, and MECModelEnuComparisons::i.
Referenced by Row().
Find index of column with name. Suitable for passing to Col.
Definition at line 63 of file Row.h.
References fCol, and MECModelEnuComparisons::i.
Referenced by nova::dbi::Table::AddRow(), calib::TimingCache::GetEpochFromDB(), calib::DriftCache::GetEpochFromDB(), calib::AttenCache::GetEpochFromDB(), calib::AbsCache::GetEpochFromDB(), calib::DriftCache::GetFactor(), dbutils::RunHistory::Load(), runh::BadDataFilter::LoadBadSubruns(), runh::BadDataFilter::LoadBadTimeRanges(), chaninfo::BadChanList::LoadCosmicEff(), nova::dbi::RunHistory::LoadDAQRunHistory(), cmap::CMap::LoadExceptions(), nova::dbi::RunHistory::LoadFEBMasks(), calib::TimingCache::LoadFromDatabase(), calib::AttenCache::LoadFromDatabaseUncalibratedMask(), calib::AbsCache::LoadFromVldDatabase(), nova::dbi::RunHistory::LoadGoodDiBlockMask(), chaninfo::BadChanList::LoadNewData(), nova::dbi::RunHistory::LoadPedestals(), nova::dbi::RunHistory::LoadPixelMasks(), nova::dbi::Table::MakeValidityCSVString(), and nova::dbi::Table::WriteToDB().
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 56 of file Row.h.
References fNModified.
Referenced by nova::dbi::Table::WriteToDB().
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 75 of file Row.h.
References fIsVldRow, fVldTimeEnd, operator<<, check_grl::row, and runNovaSAM::stream.
Definition at line 45 of file Row.h.
References fCol, fNModified, and Modified().
Referenced by progbar.ProgressBar::Finish(), progbar.ProgressBar::Start(), and nova::dbi::Table::WriteToDB().
|
inline |
Definition at line 69 of file Row.h.
References fVldTime.
Referenced by nova::dbi::Table::FillChanRowMap(), cmap::CMap::LoadExceptions(), and nova::dbi::Table::MakeValidityCSVString().
|
inline |
Definition at line 70 of file Row.h.
References fVldTimeEnd.
Referenced by nova::dbi::Table::MakeValidityCSVString().
|
friend |
|
private |
Definition at line 86 of file Row.h.
Referenced by Channel(), and SetChannel().
|
private |
|
private |
|
private |
Definition at line 84 of file Row.h.
Referenced by IsVldRow(), SetChannel(), SetVldTime(), and SetVldTimeEnd().
|
private |
Definition at line 85 of file Row.h.
Referenced by NModified(), and Update().
|
private |
Definition at line 87 of file Row.h.
Referenced by SetVldTime(), and VldTime().
|
private |
Definition at line 88 of file Row.h.
Referenced by SetVldTimeEnd(), and VldTimeEnd().