1 #ifndef INCLUDE_ORA_ORAPTRSTREAMER_H
2 #define INCLUDE_ORA_ORAPTRSTREAMER_H
8 #include <boost/shared_ptr.hpp>
10 #include "Reflex/Type.h"
16 class ContainerSchema;
18 class OraPtrReadBuffer;
30 void setRecordId(
const std::vector<int>& identity );
55 void setRecordId(
const std::vector<int>& identity );
83 void setRecordId(
const std::vector<int>& identity );
86 void read(
void* destination );
95 std::vector<boost::shared_ptr<IPtrLoader> >
m_loaders;
void update(int oid, const void *data)
Updates a data element.
std::vector< boost::shared_ptr< IPtrLoader > > m_loaders
void setRecordId(const std::vector< int > &identity)
OraPtrWriter(const Reflex::Type &objectType, MappingElement &mapping, ContainerSchema &contSchema)
Reflex::Type m_objectType
OraPtrReader(const Reflex::Type &objectType, MappingElement &mapping, ContainerSchema &contSchema)
DataElement m_localElement
IRelationalUpdater * newUpdater()
void write(int oid, const void *data)
Writes a data element.
MappingElement & m_mappingElement
OraPtrStreamer(const Reflex::Type &objectType, MappingElement &mapping, ContainerSchema &contSchema)
Reflex::Type m_objectType
ContainerSchema & m_schema
ContainerSchema & m_schema
Reflex::Type m_objectType
bool build(DataElement &offset, IRelationalData &relationalData)
std::auto_ptr< IRelationalUpdater > m_updater
void setRecordId(const std::vector< int > &identity)
DataElement * m_dataElement
void read(void *destination)
Reads a data element.
IRelationalWriter * newWriter()
Reflex::Type m_objectType
unsigned int offset(bool)
IRelationalReader * newReader()
bool build(DataElement &dataElement, IRelationalData &relationalData, RelationalBuffer &operationBuffer)
void setRecordId(const std::vector< int > &identity)
OraPtrUpdater(const Reflex::Type &objectType, MappingElement &mapping, ContainerSchema &contSchema)
MappingElement & m_mapping
DataElement m_localElement
DataElement * m_dataElement
std::auto_ptr< IRelationalWriter > m_writer
std::auto_ptr< OraPtrReadBuffer > m_readBuffer
MappingElement & m_mappingElement
std::vector< int > m_tmpIds
char data[epos_bytes_allocation]
DataElement * m_dataElement
ContainerSchema & m_schema
bool build(DataElement &dataElement, IRelationalData &relationalData, RelationalBuffer &operationBuffer)