Public Member Functions | |
size_t | flush () |
void | registerForUpdate (int oid, const void *data) |
UpdateBuffer (ContainerSchema &contSchema) | |
~UpdateBuffer () | |
Private Member Functions | |
void | update (int oid, const void *data) |
Private Attributes | |
std::vector< std::pair< int, const void * > > | m_buffer |
std::auto_ptr< RelationalDeleter > | m_depDeleter |
RelationalBuffer | m_operationBuffer |
DataElement | m_topLevelElement |
UpdateOperation * | m_topLevelUpdate |
std::auto_ptr< IRelationalUpdater > | m_updater |
Definition at line 79 of file DatabaseContainer.cc.
|
inlineexplicit |
Definition at line 81 of file DatabaseContainer.cc.
References ora::InputRelationalData::addId(), ora::InputRelationalData::addWhereId(), ora::MappingElement::columnNames(), ora::MappingElement::end(), ora::MappingElement::find(), m_depDeleter, m_operationBuffer, m_topLevelElement, m_topLevelUpdate, m_updater, ora::ContainerSchema::mapping(), ora::ContainerSchema::mappingForDependentClasses(), ora::RelationalBuffer::newUpdate(), ora::RelationalStreamerFactory::newUpdater(), ora::MappingElement::tableName(), ora::throwException(), ora::MappingTree::topElement(), funct::true, and ora::ContainerSchema::type().
|
inline |
Definition at line 113 of file DatabaseContainer.cc.
|
inline |
Definition at line 122 of file DatabaseContainer.cc.
References ora::RelationalBuffer::flush(), m_buffer, m_operationBuffer, and update().
|
inline |
Definition at line 117 of file DatabaseContainer.cc.
References m_buffer.
|
inlineprivate |
Definition at line 135 of file DatabaseContainer.cc.
References ora::InputRelationalData::data(), m_depDeleter, m_topLevelUpdate, m_updater, and ora::InputRelationalData::whereData().
Referenced by python.seqvaluedict.seqdict::__setslice__(), python.Vispa.Gui.VispaWidget.VispaWidget::autosize(), python.Vispa.Views.LineDecayView.LineDecayContainer::createObject(), python.Vispa.Views.LineDecayView.LineDecayContainer::deselectAllObjects(), python.Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::deselectAllWidgets(), python.Vispa.Gui.VispaWidget.VispaWidget::enableAutosizing(), python.seqvaluedict.seqdict::extend(), flush(), python.Vispa.Gui.MenuWidget.MenuWidget::leaveEvent(), python.Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseMoveEvent(), python.Vispa.Gui.MenuWidget.MenuWidget::mouseMoveEvent(), python.Vispa.Views.LineDecayView.LineDecayContainer::mouseMoveEvent(), python.Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseReleaseEvent(), python.Vispa.Views.LineDecayView.LineDecayContainer::objectMoved(), python.Vispa.Views.LineDecayView.LineDecayContainer::removeObject(), python.Vispa.Gui.ConnectableWidget.ConnectableWidget::removePorts(), python.Vispa.Gui.FindDialog.FindDialog::reset(), python.Vispa.Gui.PortConnection.PointToPointConnection::select(), python.Vispa.Gui.VispaWidget.VispaWidget::select(), python.Vispa.Views.LineDecayView.LineDecayContainer::select(), python.Vispa.Gui.VispaWidget.VispaWidget::setText(), python.Vispa.Gui.VispaWidget.VispaWidget::setTitle(), python.Vispa.Gui.ZoomableWidget.ZoomableWidget::setZoom(), python.Vispa.Views.LineDecayView.LineDecayContainer::setZoom(), and python.Vispa.Gui.PortConnection.PointToPointConnection::updateConnection().
|
private |
Definition at line 147 of file DatabaseContainer.cc.
Referenced by flush(), and registerForUpdate().
|
private |
Definition at line 150 of file DatabaseContainer.cc.
Referenced by update(), and UpdateBuffer().
|
private |
Definition at line 148 of file DatabaseContainer.cc.
Referenced by flush(), and UpdateBuffer().
|
private |
Definition at line 149 of file DatabaseContainer.cc.
Referenced by UpdateBuffer().
|
private |
Definition at line 152 of file DatabaseContainer.cc.
Referenced by update(), and UpdateBuffer().
|
private |
Definition at line 151 of file DatabaseContainer.cc.
Referenced by update(), and UpdateBuffer().