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::UniqueRefUpdater Class Reference

#include <UniqueRefStreamer.h>

Inheritance diagram for ora::UniqueRefUpdater:
ora::IRelationalUpdater

Public Member Functions

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

Private Attributes

UniqueRefWriter m_writer
 

Detailed Description

Definition at line 49 of file UniqueRefStreamer.h.

Constructor & Destructor Documentation

ora::UniqueRefUpdater::UniqueRefUpdater ( const Reflex::Type &  objectType,
MappingElement mapping,
ContainerSchema contSchema 
)

Definition at line 259 of file UniqueRefStreamer.cc.

261  :
262  m_writer( objectType, mapping, contSchema ){
263 }
UniqueRefWriter m_writer
ora::UniqueRefUpdater::~UniqueRefUpdater ( )
virtual

Definition at line 265 of file UniqueRefStreamer.cc.

265  {
266 }

Member Function Documentation

bool ora::UniqueRefUpdater::build ( DataElement dataElement,
IRelationalData relationalData,
RelationalBuffer operationBuffer 
)
virtual

Implements ora::IRelationalUpdater.

Definition at line 268 of file UniqueRefStreamer.cc.

Referenced by psClasses.BuildThread::run().

270  {
271  return m_writer.build( dataElement, relationalData, operationBuffer );
272 }
bool build(DataElement &dataElement, IRelationalData &relationalData, RelationalBuffer &operationBuffer)
UniqueRefWriter m_writer
void ora::UniqueRefUpdater::setRecordId ( const std::vector< int > &  identity)
virtual

Implements ora::IRelationalUpdater.

Definition at line 274 of file UniqueRefStreamer.cc.

274  {
275  m_writer.setRecordId( identity );
276 }
void setRecordId(const std::vector< int > &identity)
UniqueRefWriter m_writer
void ora::UniqueRefUpdater::update ( int  oid,
const void *  data 
)
virtual

Updates a data element.

Writes a data element.

Implements ora::IRelationalUpdater.

Definition at line 279 of file UniqueRefStreamer.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().

280  {
281  m_writer.write( oid, data );
282 }
void write(int oid, const void *data)
Writes a data element.
UniqueRefWriter m_writer
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:82

Member Data Documentation

UniqueRefWriter ora::UniqueRefUpdater::m_writer
private

Definition at line 67 of file UniqueRefStreamer.h.