CMS 3D CMS Logo

Public Member Functions | Private Attributes

ora::PVectorWriter Class Reference

#include <PVectorStreamer.h>

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

List of all members.

Public Member Functions

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

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.

                                                                :
  m_writer( objectType, mapping, contSchema ){
}
ora::PVectorWriter::~PVectorWriter ( ) [virtual]

Definition at line 12 of file PVectorStreamer.cc.

                                {
}

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.

                                                                   {
  return m_writer.build( offset, data, operationBuffer );
}
void ora::PVectorWriter::setRecordId ( const std::vector< int > &  identity) [virtual]

Implements ora::IRelationalWriter.

Definition at line 21 of file PVectorStreamer.cc.

                                                                  {
  m_writer.setRecordId( identity );
}
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.

{
  m_writer.write( oid, inputData );
}

Member Data Documentation

Definition at line 20 of file PVectorStreamer.h.