Public Types | |
typedef ::nova::database::dBColumn_t | dBCol_type |
typedef ::xsd::cxx::tree::sequence< dBCol_type > | dBCol_sequence |
typedef dBCol_sequence::iterator | dBCol_iterator |
typedef dBCol_sequence::const_iterator | dBCol_const_iterator |
typedef ::xsd::cxx::tree::traits< dBCol_type, char > | dBCol_traits |
Public Member Functions | |
Row (const std::vector< Column > &, const dBRow_t &) | |
Row (const std::vector< Column > &) | |
~Row () | |
void | Clear () |
template<class T > | |
bool | Set (std::string cname, T value) |
template<class T > | |
bool | Update (std::string cname, T value) |
bool | InDB () |
void | SetInDB () |
int | NModified () |
void | ClearModified () |
int | NCol () |
Column & | Col (int i) |
Column * | Col (std::string name) |
Column * | Col (const char *name) |
const dBCol_sequence & | dBCol () const |
dBCol_sequence & | dBCol () |
void | dBCol (const dBCol_sequence &s) |
::xml_schema::integer | getDBColCount () const |
const dBCol_type & | getDBCol (int index) const |
dBCol_type & | getDBColReference (int index) |
bool | hasDBCol () const |
void | removeAllDBCol () |
void | addDBCol (const dBCol_type &newDBCol) |
virtual dBRow_t * | _clone (::xml_schema::flags f=0,::xml_schema::container *c=0) const |
void | copyNeededFields (const dBRow_t &x) |
Protected Member Functions | |
void | parse (::xsd::cxx::xml::dom::parser< char > &,::xml_schema::flags) |
Protected Attributes | |
dBCol_sequence | dBCol_ |
Private Attributes | |
bool | fInDB |
int | fNModified |
std::vector< Column > | fCol |
Friends | |
std::ostream & | operator<< (std::ostream &stream, const Row &row) |
|
inherited |
Definition at line 705 of file NovaDatabase.h.
|
inherited |
Definition at line 704 of file NovaDatabase.h.
|
inherited |
Definition at line 703 of file NovaDatabase.h.
|
inherited |
Definition at line 706 of file NovaDatabase.h.
|
inherited |
Definition at line 702 of file NovaDatabase.h.
Definition at line 14 of file Row.cpp.
References fCol, nova::database::dBRow_t::getDBCol(), nova::database::dBRow_t::getDBColCount(), MECModelEnuComparisons::i, and Set().
Row::Row | ( | const std::vector< Column > & | col | ) |
Definition at line 30 of file Row.cpp.
References fCol, and MECModelEnuComparisons::i.
|
virtualinherited |
Definition at line 2071 of file NovaDatabase.cpp.
References plot_validation_datamc::c, MakeMiniprodValidationCuts::f, and nova::database::dBRow_t::operator=().
Referenced by generic.models.PlotInfo.Exposure::__add__(), generic.models.PlotInfo.Exposure::__mul__(), generic.models.PlotInfo.Exposure::__sub__(), and nova::database::dBRow_t::parse().
|
inherited |
Definition at line 623 of file NovaDatabase.cpp.
References nova::database::dBTable::dBColumn().
Referenced by nova::database::dBRow_t::copyNeededFields(), nova::database::Table::CreateFromDB(), and nova::database::dBRow_t::dBCol().
void Row::Clear | ( | ) |
Definition at line 61 of file Row.cpp.
References fCol, and MECModelEnuComparisons::i.
Referenced by nova::database::Table::LoadFromDB(), DevelopmentTests::testEmptyStringVsNULL(), BasicTests::testEmptyStringVsNULL(), DevelopmentTests::testUpdateTwice(), and BasicTests::testUpdateTwice().
|
inline |
Definition at line 51 of file Row.h.
References fCol, MECModelEnuComparisons::i, and string.
Referenced by dbutils::daqappmgr::ConfiguredProcessList::_fetchProcessData(), dbutils::daqconfig::DLRunConfig::_fetchStreamData(), dbutils::daqconfig::BNEVBRunConfig::_fetchSystemData(), dbutils::daqconfig::DLRunConfig::_fetchSystemData(), dbutils::daqconfig::GTRunConfig::_fetchTriggerData(), dbutils::daqconfig::NamedConfigUtils::_findNextAncestor(), dbutils::daqconfig::NamedConfigUtils::_findNextChild(), dbutils::daqconfig::NamedConfigUtils::_getDetails(), dbutils::daqconfig::GeneralDataReader::_getListOfValuesFromDB(), dbutils::daqconfig::GeneralDataReader::_getSetOfValuesFromDB(), dbutils::daqconfig::GeneralDataReader::_getValueFromDB(), dbutils::daqconfig::ConfigDataTree::_initialize(), nova::database::Table::AddRow(), nova::database::Table::BulkInsertInDB(), dbutils::hw::FEB::GetAllInstalled(), dbutils::hw::APD::GetAllInstalled(), dbutils::daqconfig::NamedConfigUtils::getAvailableGlobalConfigs(), dbutils::daqconfig::NamedConfigUtils::getAvailableSubsystemConfigs(), dbutils::daqconfig::NamedConfigUtils::getConfigDetailAncestry(), dbutils::daqconfig::NamedConfigUtils::getRecentGlobalConfigs(), dbutils::daqconfig::NamedConfigUtils::getSubsystemConfigIdAncestryFromGlobalId(), dbutils::daqconfig::NamedConfigUtils::getSubsystemConfigIdFromGlobalId(), dbutils::daqconfig::NamedConfigUtils::getSubsystemConfigIdFromGlobalName(), dbutils::daqconfig::NamedConfigUtils::getSubsystemConfigIdsFromGlobalId(), dbutils::daqconfig::NamedConfigUtils::getSubsystemConfigsFromGlobalId(), dbutils::daqconfig::NamedConfigUtils::incrementUsageCount(), dbutils::hw::FEB::Installed(), dbutils::hw::APD::Installed(), dbutils::gui::ConfigDataTableModel::loadData(), nova::database::Table::LoadFromCSV(), nova::database::Table::LoadFromDB(), nova::database::Table::LoadFromSSV(), Set(), nova::database::Table::SetValidityRange(), DevelopmentTests::testColumnLookup(), BasicTests::testColumnLookup(), BasicTests::testRowInsertWithAutoIncrColumn(), Update(), and nova::database::Table::WriteToDB().
Column * Row::Col | ( | std::string | name | ) |
|
inline |
Definition at line 53 of file Row.h.
References Col(), operator<<, check_grl::row, runNovaSAM::stream, and string.
Referenced by Col().
Definition at line 2095 of file NovaDatabase.cpp.
References nova::database::dBRow_t::addDBCol(), nova::database::dBTable::dBTable(), nova::database::dBRow_t::getDBCol(), nova::database::dBRow_t::getDBColCount(), nova::database::dBRow_t::hasDBCol(), and compare_h5_caf::idx.
Referenced by nova::database::copyTraits< dBRow_t >::copyNeededFields(), and nova::database::dBRow_t::~dBRow_t().
|
inherited |
Definition at line 575 of file NovaDatabase.cpp.
Referenced by nova::database::dBCheck_t::constraint(), nova::database::operator<<(), and nova::database::dBRow_t::removeAllDBCol().
|
inherited |
Definition at line 581 of file NovaDatabase.cpp.
References nova::database::dBRow_t::getDBColCount().
|
inherited |
|
inherited |
Definition at line 593 of file NovaDatabase.cpp.
References nova::database::dBRow_t::getDBColReference(), and allTimeWatchdog::index.
Referenced by nova::database::dBRow_t::copyNeededFields(), nova::database::dBRow_t::getDBColCount(), and Row().
|
inherited |
Definition at line 587 of file NovaDatabase.cpp.
References nova::database::dBRow_t::getDBCol().
Referenced by nova::database::dBRow_t::copyNeededFields(), nova::database::dBRow_t::dBCol(), and Row().
|
inherited |
Definition at line 599 of file NovaDatabase.cpp.
References nova::database::dBRow_t::hasDBCol(), and allTimeWatchdog::index.
Referenced by nova::database::dBRow_t::getDBCol().
|
inherited |
Definition at line 605 of file NovaDatabase.cpp.
References nova::database::dBRow_t::removeAllDBCol().
Referenced by nova::database::dBRow_t::copyNeededFields(), and nova::database::dBRow_t::getDBColReference().
|
inline |
|
inline |
|
inline |
Definition at line 46 of file Row.h.
References fNModified.
Referenced by nova::database::Table::WriteToDB().
|
protectedinherited |
Definition at line 2046 of file NovaDatabase.cpp.
References nova::database::dBRow_t::_clone(), nova::database::dBRow_t::dBCol_, MECModelEnuComparisons::i, getGoodRuns4SAM::n, and r().
Referenced by nova::database::dBRow_t::dBRow_t().
|
inherited |
Definition at line 611 of file NovaDatabase.cpp.
References nova::database::dBRow_t::dBCol().
Referenced by nova::database::dBRow_t::hasDBCol().
|
inline |
Definition at line 30 of file Row.h.
References col, Col(), and nova::database::Column::Set().
Referenced by nova::database::Table::BulkInsertInDB(), comi::CosmicMetrics::endJob(), comi::DataCheck::endJob(), Row(), DevelopmentTests::testEmptyStringVsNULL(), BasicTests::testEmptyStringVsNULL(), DevelopmentTests::testUpdateTwice(), BasicTests::testUpdateTwice(), and nova::database::Table::WriteToDB().
|
inline |
Definition at line 44 of file Row.h.
References fInDB.
Referenced by nova::database::Table::LoadFromDB().
|
inline |
Definition at line 37 of file Row.h.
References col, Col(), fNModified, nova::database::Column::Modified(), and nova::database::Column::Update().
Referenced by progbar.ProgressBar::Finish(), dbutils::daqconfig::NamedConfigUtils::incrementUsageCount(), nova::database::Table::LoadFromCSV(), nova::database::Table::LoadFromSSV(), progbar.ProgressBar::Start(), and nova::database::Table::WriteToDB().
|
friend |
|
protectedinherited |
Definition at line 767 of file NovaDatabase.h.
Referenced by nova::database::dBRow_t::operator=(), and nova::database::dBRow_t::parse().
|
private |
|
private |
|
private |
Definition at line 62 of file Row.h.
Referenced by ClearModified(), NModified(), and Update().