#include <InlineCArrayStreamer.h>
Public Member Functions | |
bool | build (DataElement &dataElement, IRelationalData &relationalData, RelationalBuffer &operationBuffer) |
InlineCArrayWriter (const Reflex::Type &objectType, MappingElement &mapping, ContainerSchema &contSchema) | |
void | processArrayElement (DataElement &arrayElementOffset, IRelationalData &relationalData, MappingElement &arrayElementMapping, RelationalBuffer *operationBuffer) |
void | setRecordId (const std::vector< int > &identity) |
void | write (int oid, const void *data) |
Writes a data element. | |
virtual | ~InlineCArrayWriter () |
Private Attributes | |
std::vector< IRelationalWriter * > | m_writers |
Definition at line 37 of file InlineCArrayStreamer.h.
ora::InlineCArrayWriter::InlineCArrayWriter | ( | const Reflex::Type & | objectType, |
MappingElement & | mapping, | ||
ContainerSchema & | contSchema | ||
) |
Definition at line 54 of file InlineCArrayStreamer.cc.
: InlineCArrayStreamerBase( objectType, mapping, contSchema ), m_writers(){ }
ora::InlineCArrayWriter::~InlineCArrayWriter | ( | ) | [virtual] |
Definition at line 61 of file InlineCArrayStreamer.cc.
bool ora::InlineCArrayWriter::build | ( | DataElement & | dataElement, |
IRelationalData & | relationalData, | ||
RelationalBuffer & | operationBuffer | ||
) | [virtual] |
Implements ora::IRelationalWriter.
Definition at line 78 of file InlineCArrayStreamer.cc.
{ return buildDataElement( dataElement, relationalData, &operationBuffer ); }
void ora::InlineCArrayWriter::processArrayElement | ( | DataElement & | arrayElementOffset, |
IRelationalData & | relationalData, | ||
MappingElement & | arrayElementMapping, | ||
RelationalBuffer * | operationBuffer | ||
) | [virtual] |
Implements ora::InlineCArrayStreamerBase.
Definition at line 69 of file InlineCArrayStreamer.cc.
References ora::IRelationalWriter::build().
{ IRelationalWriter* arrayElementWriter = m_streamerFactory.newWriter( m_arrayType, arrayElementMapping ); m_writers.push_back( arrayElementWriter ); arrayElementWriter->build( arrayElementOffset, relationalData, *operationBuffer ); }
void ora::InlineCArrayWriter::setRecordId | ( | const std::vector< int > & | identity | ) | [virtual] |
Implements ora::IRelationalWriter.
Definition at line 84 of file InlineCArrayStreamer.cc.
void ora::InlineCArrayWriter::write | ( | int | oid, |
const void * | data | ||
) | [virtual] |
Writes a data element.
Implements ora::IRelationalWriter.
Definition at line 91 of file InlineCArrayStreamer.cc.
std::vector<IRelationalWriter*> ora::InlineCArrayWriter::m_writers [private] |
Definition at line 52 of file InlineCArrayStreamer.h.