CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
ora::STLContainerUpdater Class Reference

#include <STLContainerStreamer.h>

Inheritance diagram for ora::STLContainerUpdater:
ora::IRelationalUpdater

Public Member Functions

bool build (DataElement &offset, IRelationalData &relationalData, RelationalBuffer &operationBuffer)
 
void setRecordId (const std::vector< int > &identity)
 
 STLContainerUpdater (const edm::TypeWithDict &objectType, MappingElement &mapping, ContainerSchema &contSchema)
 Constructor. More...
 
void update (int oid, const void *data)
 Updates a data element. More...
 
virtual ~STLContainerUpdater ()
 
- Public Member Functions inherited from ora::IRelationalUpdater
virtual ~IRelationalUpdater ()
 

Private Attributes

RelationalDeleter m_deleter
 
STLContainerWriter m_writer
 

Detailed Description

Definition at line 57 of file STLContainerStreamer.h.

Constructor & Destructor Documentation

ora::STLContainerUpdater::STLContainerUpdater ( const edm::TypeWithDict objectType,
MappingElement mapping,
ContainerSchema contSchema 
)

Constructor.

Definition at line 209 of file STLContainerStreamer.cc.

211  :
212  m_deleter( mapping ),
213  m_writer( objectType, mapping, contSchema ){
214 }
ora::STLContainerUpdater::~STLContainerUpdater ( )
virtual

Definition at line 216 of file STLContainerStreamer.cc.

216  {
217 }

Member Function Documentation

bool ora::STLContainerUpdater::build ( DataElement offset,
IRelationalData relationalData,
RelationalBuffer operationBuffer 
)
virtual

Implements ora::IRelationalUpdater.

Definition at line 219 of file STLContainerStreamer.cc.

Referenced by psClasses.BuildThread::run().

221  {
222  m_deleter.build( operationBuffer );
223  m_writer.build( offset, relationalData, operationBuffer );
224  return true;
225 }
bool build(DataElement &offset, IRelationalData &relationalData, RelationalBuffer &operationBuffer)
void build(RelationalBuffer &buffer)
void ora::STLContainerUpdater::setRecordId ( const std::vector< int > &  identity)
virtual

Implements ora::IRelationalUpdater.

Definition at line 227 of file STLContainerStreamer.cc.

227  {
228  m_writer.setRecordId( identity );
229 }
void setRecordId(const std::vector< int > &identity)
void ora::STLContainerUpdater::update ( int  oid,
const void *  data 
)
virtual

Updates a data element.

Implements ora::IRelationalUpdater.

Definition at line 231 of file STLContainerStreamer.cc.

Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), python.seqvaluedict.seqdict::__setslice__(), 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(), python.seqvaluedict.seqdict::extend(), 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(), and Vispa.Gui.PortConnection.PointToPointConnection::updateConnection().

232  {
233  m_deleter.erase( oid );
234  m_writer.write( oid, data );
235 }
void write(int oid, const void *data)
Writes a data element.
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:82

Member Data Documentation

RelationalDeleter ora::STLContainerUpdater::m_deleter
private

Definition at line 75 of file STLContainerStreamer.h.

STLContainerWriter ora::STLContainerUpdater::m_writer
private

Definition at line 76 of file STLContainerStreamer.h.