1 #ifndef INCLUDE_ORA_UNIQUEREFSTREAMER_H
2 #define INCLUDE_ORA_UNIQUEREFSTREAMER_H
9 #include <boost/shared_ptr.hpp>
11 #include "Reflex/Type.h"
17 class ContainerSchema;
18 class RelationalRefLoader;
19 class DependentClassReader;
33 void setRecordId(
const std::vector<int>& identity );
58 void setRecordId(
const std::vector<int>& identity );
82 void setRecordId(
const std::vector<int>& identity );
85 void read(
void* destination );
96 std::vector<boost::shared_ptr<RelationalRefLoader> >
m_loaders;
Reflex::Type m_objectType
IRelationalReader * newReader()
UniqueRefUpdater(const Reflex::Type &objectType, MappingElement &mapping, ContainerSchema &contSchema)
RelationalBuffer * m_operationBuffer
void write(int oid, const void *data)
Writes a data element.
std::vector< boost::shared_ptr< RelationalRefLoader > > m_loaders
virtual ~UniqueRefReader()
bool build(DataElement &offset, IRelationalData &relationalData)
DataElement * m_dataElement
IRelationalUpdater * newUpdater()
void setRecordId(const std::vector< int > &identity)
virtual ~UniqueRefUpdater()
MappingElement & m_mapping
bool build(DataElement &dataElement, IRelationalData &relationalData, RelationalBuffer &operationBuffer)
void read(void *destination)
Reads a data element.
virtual ~UniqueRefWriter()
UniqueRefStreamer(const Reflex::Type &objectType, MappingElement &mapping, ContainerSchema &contSchema)
ContainerSchema & m_schema
void setRecordId(const std::vector< int > &identity)
UniqueRefWriter(const Reflex::Type &objectType, MappingElement &mapping, ContainerSchema &contSchema)
void update(int oid, const void *data)
Updates a data element.
ContainerSchema & m_schema
IRelationalData * m_relationalData
unsigned int offset(bool)
ContainerSchema & m_schema
IRelationalData * m_relationalData
Reflex::Type m_objectType
UniqueRefReader(const Reflex::Type &objectType, MappingElement &mapping, ContainerSchema &contSchema)
DataElement * m_dataElement
void setRecordId(const std::vector< int > &identity)
Reflex::Type m_objectType
MappingElement & m_mappingElement
IRelationalWriter * newWriter()
MappingElement & m_mappingElement
bool build(DataElement &dataElement, IRelationalData &relationalData, RelationalBuffer &operationBuffer)
std::string uniqueRefNullLabel()