#include <PoolDatabaseSchema.h>
Public Member Functions | |
void | add (int id, const PoolDbCacheData &data) |
void | clear () |
PoolDbCacheData & | find (int id) |
int | idByName (const std::string &name) |
const std::string & | nameById (int id) |
PoolDbCache () | |
void | remove (int id) |
std::map< std::string, PoolDbCacheData * > & | sequences () |
~PoolDbCache () | |
Private Attributes | |
PoolDbCacheData | m_databaseData |
std::map< int, PoolDbCacheData > | m_idMap |
PoolDbCacheData | m_mappingData |
std::map< std::string, PoolDbCacheData * > | m_sequences |
Definition at line 29 of file PoolDatabaseSchema.h.
ora::PoolDbCache::PoolDbCache | ( | ) |
Definition at line 365 of file PoolDatabaseSchema.cc.
References m_databaseData, m_mappingData, and ora::PoolDbCacheData::m_nobjWr.
ora::PoolDbCache::~PoolDbCache | ( | ) |
Definition at line 374 of file PoolDatabaseSchema.cc.
void ora::PoolDbCache::add | ( | int | id, |
const PoolDbCacheData & | data | ||
) |
Definition at line 377 of file PoolDatabaseSchema.cc.
References errorMatrix2Lands_multiChannel::id, ora::PoolDbCacheData::m_name, ora::MappingRules::sequenceNameForContainer(), ora::MappingRules::sequenceNameForContainerId(), and ora::throwException().
void ora::PoolDbCache::clear | ( | void | ) |
Definition at line 424 of file PoolDatabaseSchema.cc.
References ora::MappingRules::sequenceNameForContainerId(), and ora::MappingRules::sequenceNameForMapping().
Referenced by Vispa.Views.WidgetView.WidgetView::closeEvent(), Vispa.Views.BoxDecayView.BoxDecayView::closeEvent(), Vispa.Share.FindAlgorithm.FindAlgorithm::findUsingFindDialog(), Vispa.Views.LineDecayView.LineDecayView::setDataObjects(), Vispa.Views.WidgetView.WidgetView::setDataObjects(), BeautifulSoup.Tag::setString(), Vispa.Views.TreeView.TreeView::updateContent(), Vispa.Views.TableView.TableView::updateContent(), Vispa.Views.BoxDecayView.BoxDecayView::updateContent(), and Vispa.Views.PropertyView.PropertyView::updateContent().
ora::PoolDbCacheData & ora::PoolDbCache::find | ( | int | id | ) |
Definition at line 406 of file PoolDatabaseSchema.cc.
References ora::throwException().
Referenced by BeautifulSoup.Tag::__getattr__(), and BeautifulSoup.Tag::firstText().
int ora::PoolDbCache::idByName | ( | const std::string & | name | ) |
Definition at line 394 of file PoolDatabaseSchema.cc.
References run_regression::ret.
const std::string & ora::PoolDbCache::nameById | ( | int | id | ) |
Definition at line 389 of file PoolDatabaseSchema.cc.
References data, spr::find(), and ora::PoolDbCacheData::m_name.
void ora::PoolDbCache::remove | ( | int | id | ) |
Definition at line 414 of file PoolDatabaseSchema.cc.
References spr::find(), mergeVDriftHistosByStation::name, and ora::MappingRules::sequenceNameForContainer().
std::map< std::string, ora::PoolDbCacheData * > & ora::PoolDbCache::sequences | ( | ) |
Definition at line 420 of file PoolDatabaseSchema.cc.
|
private |
Definition at line 42 of file PoolDatabaseSchema.h.
Referenced by PoolDbCache().
|
private |
Definition at line 44 of file PoolDatabaseSchema.h.
|
private |
Definition at line 43 of file PoolDatabaseSchema.h.
Referenced by PoolDbCache().
|
private |
Definition at line 45 of file PoolDatabaseSchema.h.