1 #ifndef INCLUDE_ORA_NAMEDREFSTREAMER_H
2 #define INCLUDE_ORA_NAMEDREFSTREAMER_H
8 #include <boost/shared_ptr.hpp>
10 #include "Reflex/Type.h"
16 class ContainerSchema;
57 void setRecordId(
const std::vector<int>& identity );
74 void setRecordId(
const std::vector<int>& identity );
94 void setRecordId(
const std::vector<int>& identity );
97 void read(
void* destination );
void update(int oid, const void *data)
Updates a data element.
ContainerSchema & m_schema
std::string namedRefNullLabel()
void read(void *destination)
Reads a data element.
void bindDataForUpdate(const void *data)
void setRecordId(const std::vector< int > &identity)
DataElement * m_refNameDataElement
bool build(DataElement &dataElement, IRelationalData &relationalData, RelationalBuffer &operationBuffer)
DataElement * m_ptrDataElement
IRelationalUpdater * newUpdater()
void bindDataForRead(void *data)
NamedRefWriter(const Reflex::Type &objectType, MappingElement &mapping, ContainerSchema &contSchema)
bool build(DataElement &offset, IRelationalData &relationalData)
bool build(DataElement &dataElement, IRelationalData &relationalData, RelationalBuffer &operationBuffer)
virtual ~NamedRefWriter()
Reflex::Type m_objectType
NamedRefStreamer(const Reflex::Type &objectType, MappingElement &mapping, ContainerSchema &contSchema)
ContainerSchema & m_schema
virtual ~NamedRefReader()
unsigned int offset(bool)
NamedReferenceStreamerBase(const Reflex::Type &objectType, MappingElement &mapping, ContainerSchema &schema)
MappingElement & m_mapping
DataElement * m_dataElement
IRelationalWriter * newWriter()
Reflex::Type m_objectType
void write(int oid, const void *data)
Writes a data element.
IRelationalReader * newReader()
bool buildDataElement(DataElement &dataElement, IRelationalData &relationalData)
DataElement * m_flagDataElement
virtual ~NamedRefUpdater()
void setRecordId(const std::vector< int > &identity)
NamedRefUpdater(const Reflex::Type &objectType, MappingElement &mapping, ContainerSchema &contSchema)
char data[epos_bytes_allocation]
NamedRefReader(const Reflex::Type &objectType, MappingElement &mapping, ContainerSchema &contSchema)
IRelationalData * m_relationalData
void setRecordId(const std::vector< int > &identity)
virtual ~NamedReferenceStreamerBase()
MappingElement & m_mapping