1 #ifndef INCLUDE_ORA_STLCONTAINERSTREAMER_H
2 #define INCLUDE_ORA_STLCONTAINERSTREAMER_H
10 #include "Reflex/Type.h"
15 class ContainerSchema;
18 class MultiRecordInsertOperation;
19 class MultiRecordSelectOperation;
36 void setRecordId(
const std::vector<int>& identity );
68 void setRecordId(
const std::vector<int>& identity );
92 void setRecordId(
const std::vector<int>& identity );
95 void read(
void* address );
109 std::auto_ptr<MultiRecordSelectOperation>
m_query;
152 return m_arrayHandler.get();
std::auto_ptr< IRelationalReader > m_keyReader
Reflex::Type m_objectType
RelationalDeleter m_deleter
MappingElement & m_mapping
DataElement m_localElement
bool build(DataElement &offset, IRelationalData &relationalData, RelationalBuffer &operationBuffer)
DataElement * dataElement()
MappingElement & m_mappingElement
std::vector< int > m_recordId
virtual ~STLContainerWriter()
virtual ~STLContainerUpdater()
STLContainerStreamer(const Reflex::Type &objectType, MappingElement &mapping, ContainerSchema &contSchema)
void setRecordId(const std::vector< int > &identity)
ContainerSchema & m_schema
Reflex::Type m_objectType
std::auto_ptr< IRelationalWriter > m_keyWriter
IRelationalReader * newReader()
virtual ~STLContainerReader()
Reflex::Type m_objectType
std::auto_ptr< IArrayHandler > m_arrayHandler
std::auto_ptr< MultiRecordSelectOperation > m_query
void write(int oid, const void *data)
Writes a data element.
MultiRecordInsertOperation * m_insertOperation
bool build(DataElement &offset, IRelationalData &relationalData, RelationalBuffer &operationBuffer)
void read(void *address)
Reads a data element.
std::auto_ptr< IRelationalWriter > m_dataWriter
std::auto_ptr< IRelationalReader > m_dataReader
void setRecordId(const std::vector< int > &identity)
ContainerSchema & m_schema
std::vector< int > m_recordId
unsigned int offset(bool)
void setRecordId(const std::vector< int > &identity)
MappingElement & mapping()
STLContainerReader(const Reflex::Type &objectType, MappingElement &mapping, ContainerSchema &contSchema)
Constructor.
void update(int oid, const void *data)
Updates a data element.
IRelationalWriter * newWriter()
bool build(DataElement &offset, IRelationalData &relationalData)
char data[epos_bytes_allocation]
STLContainerWriter(const Reflex::Type &objectType, MappingElement &mapping, ContainerSchema &contSchema)
Constructor.
IRelationalUpdater * newUpdater()
ContainerSchema & m_schema
IArrayHandler * arrayHandler()
DataElement m_localElement
MappingElement & m_mappingElement
STLContainerUpdater(const Reflex::Type &objectType, MappingElement &mapping, ContainerSchema &contSchema)
Constructor.
std::auto_ptr< IArrayHandler > m_arrayHandler
STLContainerWriter m_writer