#include <Container.h>
Public Member Functions | |
const std::string & | className () |
Container () | |
Container (Handle< DatabaseContainer > &dbContainer) | |
Container (const Container &rhs) | |
void | erase (int itemId) |
void | extendSchema (const std::type_info &typeInfo) |
template<typename T > | |
void | extendSchema () |
template<typename T > | |
boost::shared_ptr< T > | fetch (int itemId) |
Object | fetchItem (int itemId) |
void | flush () |
bool | getNames (std::vector< std::string > &destination) |
int | id () |
template<typename T > | |
int | insert (const T &data) |
int | insertItem (const Object &data) |
bool | isLocked () |
ContainerIterator | iterator () |
bool | lock () |
const std::string & | mappingVersion () |
const std::string & | name () |
Container & | operator= (const Container &rhs) |
std::string | realClassName () |
void | setAccessPermission (const std::string &principal, bool forWrite) |
void | setItemName (const std::string &name, int itemId) |
size_t | size () |
template<typename T > | |
void | update (int itemId, const T &data) |
void | updateItem (int itemId, const Object &data) |
virtual | ~Container () |
Private Member Functions | |
boost::shared_ptr< void > | fetchItemAsType (int itemId, const std::type_info &asTypeInfo) |
int | insertItem (const void *data, const std::type_info &typeInfo) |
void | updateItem (int itemId, const void *data, const std::type_info &typeInfo) |
Private Attributes | |
Handle< DatabaseContainer > | m_dbContainer |
Definition at line 45 of file Container.h.
ora::Container::Container | ( | ) |
Definition at line 47 of file Container.cc.
|
explicit |
Definition at line 51 of file Container.cc.
ora::Container::Container | ( | const Container & | rhs | ) |
Definition at line 55 of file Container.cc.
|
virtual |
Definition at line 59 of file Container.cc.
const std::string & ora::Container::className | ( | ) |
Definition at line 75 of file Container.cc.
void ora::Container::erase | ( | int | itemId | ) |
void ora::Container::extendSchema | ( | const std::type_info & | typeInfo | ) |
Definition at line 99 of file Container.cc.
References ora::ClassUtils::lookupDictionary().
|
inline |
Definition at line 123 of file Container.h.
|
inline |
Definition at line 129 of file Container.h.
Referenced by ora::Database::fetch().
ora::Object ora::Container::fetchItem | ( | int | itemId | ) |
|
private |
Definition at line 113 of file Container.cc.
References ora::ClassUtils::lookupDictionary().
void ora::Container::flush | ( | ) |
Definition at line 165 of file Container.cc.
bool ora::Container::getNames | ( | std::vector< std::string > & | destination | ) |
Definition at line 174 of file Container.cc.
int ora::Container::id | ( | ) |
Definition at line 67 of file Container.cc.
Referenced by ora::Database::insert(), and ora::Database::insertItem().
|
inline |
Definition at line 135 of file Container.h.
Referenced by BeautifulSoup.PageElement::_invert(), and ora::Database::insert().
int ora::Container::insertItem | ( | const Object & | data | ) |
Definition at line 129 of file Container.cc.
References ora::Object::address(), ora::throwException(), and ora::Object::type().
Referenced by ora::Database::insertItem().
|
private |
Definition at line 138 of file Container.cc.
References ora::ClassUtils::lookupDictionary().
bool ora::Container::isLocked | ( | ) |
Definition at line 125 of file Container.cc.
ora::ContainerIterator ora::Container::iterator | ( | ) |
Definition at line 94 of file Container.cc.
bool ora::Container::lock | ( | ) |
Definition at line 121 of file Container.cc.
const std::string & ora::Container::mappingVersion | ( | ) |
Definition at line 86 of file Container.cc.
const std::string & ora::Container::name | ( | ) |
Definition at line 71 of file Container.cc.
Referenced by cuy.divideElement::__init__(), cuy.plotElement::__init__(), cuy.additionElement::__init__(), cuy.superimposeElement::__init__(), cuy.graphElement::__init__(), config.CFG::__str__(), validation.Sample::digest(), VIDSelectorBase.VIDSelectorBase::initialize(), and Vispa.Views.PropertyView.Property::valueChanged().
ora::Container & ora::Container::operator= | ( | const Container & | rhs | ) |
std::string ora::Container::realClassName | ( | ) |
Definition at line 79 of file Container.cc.
References className(), ora::ClassUtils::demangledName(), ora::ClassUtils::lookupDictionary(), MatrixUtil::remove(), runTheMatrix::ret, AlCaHLTBitMon_QueryRunRegistry::string, and edm::TypeWithDict::typeInfo().
void ora::Container::setAccessPermission | ( | const std::string & | principal, |
bool | forWrite | ||
) |
Definition at line 104 of file Container.cc.
void ora::Container::setItemName | ( | const std::string & | name, |
int | itemId | ||
) |
Definition at line 169 of file Container.cc.
size_t ora::Container::size | ( | void | ) |
Definition at line 90 of file Container.cc.
|
inline |
Definition at line 141 of file Container.h.
Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), Vispa.Gui.VispaWidget.VispaWidget::autosize(), Vispa.Views.LineDecayView.LineDecayContainer::createObject(), Vispa.Views.LineDecayView.LineDecayContainer::deselectAllObjects(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::deselectAllWidgets(), Vispa.Gui.VispaWidget.VispaWidget::enableAutosizing(), dqm-mbProfile.Profile::finish(), progressbar.ProgressBar::finish(), Vispa.Gui.MenuWidget.MenuWidget::leaveEvent(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseMoveEvent(), Vispa.Gui.MenuWidget.MenuWidget::mouseMoveEvent(), Vispa.Views.LineDecayView.LineDecayContainer::mouseMoveEvent(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseReleaseEvent(), Vispa.Views.LineDecayView.LineDecayContainer::objectMoved(), MatrixUtil.Steps::overwrite(), Vispa.Views.LineDecayView.LineDecayContainer::removeObject(), Vispa.Gui.ConnectableWidget.ConnectableWidget::removePorts(), Vispa.Gui.FindDialog.FindDialog::reset(), Vispa.Gui.PortConnection.PointToPointConnection::select(), Vispa.Gui.VispaWidget.VispaWidget::select(), Vispa.Views.LineDecayView.LineDecayContainer::select(), Vispa.Gui.VispaWidget.VispaWidget::setText(), Vispa.Gui.VispaWidget.VispaWidget::setTitle(), Vispa.Gui.ZoomableWidget.ZoomableWidget::setZoom(), Vispa.Views.LineDecayView.LineDecayContainer::setZoom(), ora::Database::update(), and Vispa.Gui.PortConnection.PointToPointConnection::updateConnection().
void ora::Container::updateItem | ( | int | itemId, |
const Object & | data | ||
) |
Definition at line 144 of file Container.cc.
References ora::Object::address(), ora::throwException(), and ora::Object::type().
Referenced by ora::Database::updateItem().
|
private |
Definition at line 154 of file Container.cc.
References ora::ClassUtils::lookupDictionary().
|
private |
Definition at line 110 of file Container.h.
Referenced by operator=().