test
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 Reflex::Type &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 Reflex::Type &  objectType,
MappingElement mapping,
ContainerSchema contSchema 
)

Constructor.

Definition at line 204 of file STLContainerStreamer.cc.

206  :
207  m_deleter( mapping ),
208  m_writer( objectType, mapping, contSchema ){
209 }
ora::STLContainerUpdater::~STLContainerUpdater ( )
virtual

Definition at line 211 of file STLContainerStreamer.cc.

211  {
212 }

Member Function Documentation

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

Implements ora::IRelationalUpdater.

Definition at line 214 of file STLContainerStreamer.cc.

Referenced by psClasses.BuildThread::run().

216  {
217  m_deleter.build( operationBuffer );
218  m_writer.build( offset, relationalData, operationBuffer );
219  return true;
220 }
bool build(DataElement &offset, IRelationalData &relationalData, RelationalBuffer &operationBuffer)
unsigned int offset(bool)
void build(RelationalBuffer &buffer)
void ora::STLContainerUpdater::setRecordId ( const std::vector< int > &  identity)
virtual

Implements ora::IRelationalUpdater.

Definition at line 222 of file STLContainerStreamer.cc.

222  {
223  m_writer.setRecordId( identity );
224 }
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 226 of file STLContainerStreamer.cc.

Referenced by progressbar.ProgressBar::__next__(), relval_steps.Matrix::__setitem__(), relval_steps.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(), relval_steps.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().

227  {
228  m_deleter.erase( oid );
229  m_writer.write( oid, data );
230 }
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.