#include <UniqueRefStreamer.h>
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 |
Definition at line 48 of file UniqueRefStreamer.h.
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.
{ }
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.
Definition at line 66 of file UniqueRefStreamer.h.