CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
ora::PVectorWriter Class Reference

#include <PVectorStreamer.h>

Inheritance diagram for ora::PVectorWriter:
ora::IRelationalWriter

Public Member Functions

bool build (DataElement &offset, IRelationalData &relationalData, RelationalBuffer &operationBuffer)
 
 PVectorWriter (const Reflex::Type &objectType, MappingElement &mapping, ContainerSchema &contSchema)
 Constructor. More...
 
void setRecordId (const std::vector< int > &identity)
 
void write (int oid, const void *data)
 Writes a data element. More...
 
virtual ~PVectorWriter ()
 
- Public Member Functions inherited from ora::IRelationalWriter
virtual ~IRelationalWriter ()
 Destructor. More...
 

Private Attributes

STLContainerWriter m_writer
 

Detailed Description

Definition at line 8 of file PVectorStreamer.h.

Constructor & Destructor Documentation

ora::PVectorWriter::PVectorWriter ( const Reflex::Type &  objectType,
MappingElement mapping,
ContainerSchema contSchema 
)

Constructor.

Definition at line 6 of file PVectorStreamer.cc.

8  :
9  m_writer( objectType, mapping, contSchema ){
10 }
STLContainerWriter m_writer
ora::PVectorWriter::~PVectorWriter ( )
virtual

Definition at line 12 of file PVectorStreamer.cc.

12  {
13 }

Member Function Documentation

bool ora::PVectorWriter::build ( DataElement offset,
IRelationalData relationalData,
RelationalBuffer operationBuffer 
)
virtual

Implements ora::IRelationalWriter.

Definition at line 15 of file PVectorStreamer.cc.

17  {
18  return m_writer.build( offset, data, operationBuffer );
19 }
bool build(DataElement &offset, IRelationalData &relationalData, RelationalBuffer &operationBuffer)
unsigned int offset(bool)
STLContainerWriter m_writer
void ora::PVectorWriter::setRecordId ( const std::vector< int > &  identity)
virtual

Implements ora::IRelationalWriter.

Definition at line 21 of file PVectorStreamer.cc.

21  {
22  m_writer.setRecordId( identity );
23 }
void setRecordId(const std::vector< int > &identity)
STLContainerWriter m_writer
void ora::PVectorWriter::write ( int  oid,
const void *  data 
)
virtual

Writes a data element.

Implements ora::IRelationalWriter.

Definition at line 25 of file PVectorStreamer.cc.

27 {
28  m_writer.write( oid, inputData );
29 }
void write(int oid, const void *data)
Writes a data element.
STLContainerWriter m_writer
tuple inputData
Definition: idDealer.py:72

Member Data Documentation

STLContainerWriter ora::PVectorWriter::m_writer
private

Definition at line 20 of file PVectorStreamer.h.