#include <ConnectionManager.h>
Public Member Functions | |
bool | connect () |
ConnectionManager () | |
void | disconnect () |
oracle::occi::Statement * | getStatement (const std::string &query) |
Private Attributes | |
oracle::occi::Connection * | conn |
oracle::occi::Environment * | env |
Definition at line 14 of file ConnectionManager.h.
ConnectionManager::ConnectionManager | ( | ) |
Definition at line 9 of file ConnectionManager.cc.
References keyFile(), and AlCaHLTBitMon_QueryRunRegistry::string.
bool ConnectionManager::connect | ( | ) |
Definition at line 20 of file ConnectionManager.cc.
References clean(), conn, SiStripPI::DEFAULT, env, f, keyFile(), alignCSCRings::s, AlCaHLTBitMon_QueryRunRegistry::string, and indexGen::username.
Referenced by Vispa.Gui.ZoomableScrollArea.ZoomableScrollArea::__init__(), Vispa.Views.PropertyView.BooleanProperty::__init__(), Vispa.Gui.FindDialog.FindDialog::_addScript(), Vispa.Gui.FindDialog.FindDialog::_addStringProperty(), Vispa.Main.Application.Application::_connectSignals(), Vispa.Plugins.ConfigEditor.CodeTableView.CodeTableView::_createItem(), Vispa.Gui.BoxContentDialog.BoxContentDialog::addButton(), Vispa.Gui.ToolBoxContainer.ToolBoxContainer::addWidget(), Vispa.Views.PropertyView.PropertyView::append(), Vispa.Views.PropertyView.PropertyView::appendAddRow(), Vispa.Main.Application.Application::createAction(), Vispa.Views.PropertyView.TextEditWithButtonProperty::createButton(), Vispa.Views.LineDecayView.LineDecayView::createLineDecayContainer(), Vispa.Views.PropertyView.TextEditWithButtonProperty::createLineEdit(), Vispa.Views.LineDecayView.LineDecayContainer::createObject(), Vispa.Views.PropertyView.TextEditWithButtonProperty::createTextEdit(), Vispa.Plugins.Browser.BrowserTabController.BrowserTabController::filterDialog(), Vispa.Plugins.Browser.BrowserTabController.BrowserTabController::find(), HcalAssistant::getListOfChannelsFromDb(), Vispa.Gui.PortWidget.PortWidget::mouseMoveEvent(), Vispa.Views.PropertyView.BooleanProperty::setChecked(), Vispa.Main.SplitterTab.SplitterTab::setController(), Vispa.Plugins.Browser.BrowserTab.BrowserTab::setController(), Vispa.Views.PropertyView.BooleanProperty::setReadOnly(), Vispa.Views.PropertyView.DropDownProperty::setReadOnly(), Vispa.Views.PropertyView.TextEditWithButtonProperty::setReadOnly(), Vispa.Plugins.Browser.BrowserTabController.BrowserTabController::setTab(), Vispa.Views.PropertyView.IntegerProperty::setValue(), Vispa.Plugins.Browser.BrowserTabController.BrowserTabController::switchCenterView(), o2o_db_cfgmap.DbManagerDAQ::update_hashmap(), Vispa.Plugins.EdmBrowser.EdmBrowserTabController.EdmBrowserTabController::updateViewMenu(), and Vispa.Plugins.ConfigEditor.ConfigEditorTabController.ConfigEditorTabController::updateViewMenu().
void ConnectionManager::disconnect | ( | ) |
Definition at line 44 of file ConnectionManager.cc.
Referenced by Vispa.Views.LineDecayView.LineDecayView::createLineDecayContainer(), HcalAssistant::getListOfChannelsFromDb(), Vispa.Views.PropertyView.BooleanProperty::setChecked(), Vispa.Views.PropertyView.BooleanProperty::setReadOnly(), Vispa.Views.PropertyView.DropDownProperty::setReadOnly(), Vispa.Views.PropertyView.TextEditWithButtonProperty::setReadOnly(), Vispa.Views.PropertyView.IntegerProperty::setValue(), Vispa.Plugins.EdmBrowser.EdmBrowserTabController.EdmBrowserTabController::updateViewMenu(), and Vispa.Plugins.ConfigEditor.ConfigEditorTabController.ConfigEditorTabController::updateViewMenu().
oracle::occi::Statement * ConnectionManager::getStatement | ( | const std::string & | query | ) |
Definition at line 40 of file ConnectionManager.cc.
Referenced by HcalAssistant::getListOfChannelsFromDb().
|
private |
Definition at line 22 of file ConnectionManager.h.
Referenced by connect(), disconnect(), and getStatement().
|
private |
Definition at line 21 of file ConnectionManager.h.
Referenced by connect(), disconnect(), and getStatement().