test
CMS 3D CMS Logo

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

#include <BlobStreamer.h>

Inheritance diagram for ora::BlobWriter:
ora::BlobWriterBase ora::IRelationalWriter

Public Member Functions

 BlobWriter (const edm::TypeWithDict &objectType, MappingElement &mapping, ContainerSchema &contSchema)
 
bool build (DataElement &dataElement, IRelationalData &relationalData, RelationalBuffer &operationBuffer)
 
void setRecordId (const std::vector< int > &identity)
 
void write (int oid, const void *data)
 Writes a data element. More...
 
virtual ~BlobWriter ()
 
- Public Member Functions inherited from ora::BlobWriterBase
void bindData (const void *data)
 
 BlobWriterBase (const edm::TypeWithDict &objectType, MappingElement &mapping, ContainerSchema &contSchema)
 
bool buildDataElement (DataElement &dataElement, IRelationalData &relationalData, RelationalBuffer &operationBuffer)
 
virtual ~BlobWriterBase ()
 
- Public Member Functions inherited from ora::IRelationalWriter
virtual ~IRelationalWriter ()
 Destructor. More...
 

Detailed Description

Definition at line 40 of file BlobStreamer.h.

Constructor & Destructor Documentation

ora::BlobWriter::BlobWriter ( const edm::TypeWithDict objectType,
MappingElement mapping,
ContainerSchema contSchema 
)

Definition at line 67 of file BlobStreamer.cc.

69  :
70  BlobWriterBase( objectType, mapping, contSchema ){
71 }
BlobWriterBase(const edm::TypeWithDict &objectType, MappingElement &mapping, ContainerSchema &contSchema)
Definition: BlobStreamer.cc:16
ora::BlobWriter::~BlobWriter ( )
virtual

Definition at line 73 of file BlobStreamer.cc.

73  {
74 }

Member Function Documentation

bool ora::BlobWriter::build ( DataElement dataElement,
IRelationalData relationalData,
RelationalBuffer operationBuffer 
)
virtual

Implements ora::IRelationalWriter.

Definition at line 76 of file BlobStreamer.cc.

Referenced by psClasses.BuildThread::run().

78  {
79  return buildDataElement( dataElement, relationalData, relationalBuffer );
80 }
bool buildDataElement(DataElement &dataElement, IRelationalData &relationalData, RelationalBuffer &operationBuffer)
Definition: BlobStreamer.cc:33
void ora::BlobWriter::setRecordId ( const std::vector< int > &  identity)
virtual

Implements ora::IRelationalWriter.

Definition at line 82 of file BlobStreamer.cc.

82  {
83 }
void ora::BlobWriter::write ( int  oid,
const void *  data 
)
virtual

Writes a data element.

Implements ora::IRelationalWriter.

Definition at line 85 of file BlobStreamer.cc.

Referenced by pkg.AbstractPkg::generate(), and querying.connection::write_and_commit().

86  {
87  bindData( data );
88 }
void bindData(const void *data)
Definition: BlobStreamer.cc:55