CMS 3D CMS Logo

Public Member Functions | Private Attributes

ora::UniqueRefUpdater Class Reference

#include <UniqueRefStreamer.h>

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

List of all members.

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.
virtual ~UniqueRefUpdater ()

Private Attributes

UniqueRefWriter m_writer

Detailed Description

Definition at line 48 of file UniqueRefStreamer.h.


Constructor & Destructor Documentation

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

Definition at line 252 of file UniqueRefStreamer.cc.

                                                                      :
  m_writer( objectType, mapping, contSchema ){
}
ora::UniqueRefUpdater::~UniqueRefUpdater ( ) [virtual]

Definition at line 258 of file UniqueRefStreamer.cc.

                                      {
}

Member Function Documentation

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

Implements ora::IRelationalUpdater.

Definition at line 261 of file UniqueRefStreamer.cc.

                                                                    {
  return m_writer.build( dataElement, relationalData, operationBuffer );
}
void ora::UniqueRefUpdater::setRecordId ( const std::vector< int > &  identity) [virtual]

Implements ora::IRelationalUpdater.

Definition at line 267 of file UniqueRefStreamer.cc.

                                                                     {
  m_writer.setRecordId( identity );
}
void ora::UniqueRefUpdater::update ( int  oid,
const void *  data 
) [virtual]

Updates a data element.

Writes a data element.

Implements ora::IRelationalUpdater.

Definition at line 272 of file UniqueRefStreamer.cc.

                                                      {
  m_writer.write( oid, data );
}

Member Data Documentation

Definition at line 66 of file UniqueRefStreamer.h.