#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 49 of file UniqueRefStreamer.h.
ora::UniqueRefUpdater::UniqueRefUpdater | ( | const Reflex::Type & | objectType, |
MappingElement & | mapping, | ||
ContainerSchema & | contSchema | ||
) |
Definition at line 259 of file UniqueRefStreamer.cc.
: m_writer( objectType, mapping, contSchema ){ }
ora::UniqueRefUpdater::~UniqueRefUpdater | ( | ) | [virtual] |
Definition at line 265 of file UniqueRefStreamer.cc.
{ }
bool ora::UniqueRefUpdater::build | ( | DataElement & | dataElement, |
IRelationalData & | relationalData, | ||
RelationalBuffer & | operationBuffer | ||
) | [virtual] |
Implements ora::IRelationalUpdater.
Definition at line 268 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 274 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 279 of file UniqueRefStreamer.cc.
Definition at line 67 of file UniqueRefStreamer.h.