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 edm::TypeWithDict &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 edm::TypeWithDict objectType,
MappingElement mapping,
ContainerSchema contSchema 
)

Definition at line 264 of file UniqueRefStreamer.cc.

266  :
267  m_writer( objectType, mapping, contSchema ){
268 }
UniqueRefWriter m_writer
ora::UniqueRefUpdater::~UniqueRefUpdater ( )
virtual

Definition at line 270 of file UniqueRefStreamer.cc.

270  {
271 }

Member Function Documentation

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

Implements ora::IRelationalUpdater.

Definition at line 273 of file UniqueRefStreamer.cc.

Referenced by psClasses.BuildThread::run().

275  {
276  return m_writer.build( dataElement, relationalData, operationBuffer );
277 }
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 279 of file UniqueRefStreamer.cc.

279  {
280  m_writer.setRecordId( identity );
281 }
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 284 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().

285  {
286  m_writer.write( oid, data );
287 }
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.