LCCD  1.5.0
Public Member Functions | List of all members
lccd::LCGenericObjectStreamer Class Reference

Base class for LCCollection streamer classes. More...

#include <LCGenericObjectStreamer.hh>

Inheritance diagram for lccd::LCGenericObjectStreamer:
lccd::VCollectionStreamer

Public Member Functions

virtual void storeToDB (std::string &s) const
 Writes collection to stream ( string) using XDR. More...
 
virtual void retrieveFromDB (const std::string &s)
 Reads collection from stream ( string) using XDR. More...
 
virtual LCGenericObjectStreamercreate ()
 Covariant factory method. More...
 
- Public Member Functions inherited from lccd::VCollectionStreamer
 VCollectionStreamer (const VCollectionStreamer &)=delete
 
VCollectionStreameroperator= (const VCollectionStreamer &)=delete
 
virtual void setCollection (lcio::LCCollection *col)
 Set the collection that will be stored in the database.
 
virtual lcio::LCCollection * getCollection ()
 Get the collection retrieved from the database. More...
 

Additional Inherited Members

- Protected Member Functions inherited from lccd::VCollectionStreamer
virtual void writeParameters (std::string &s) const
 Write the collection's parameters to the string/stream.
 
virtual unsigned readParameters (const std::string &s, unsigned index)
 Read the collection's parameters from the stream.
 
- Protected Attributes inherited from lccd::VCollectionStreamer
lcio::LCCollection * _col = nullptr
 

Detailed Description

Base class for LCCollection streamer classes.

Author
F.Gaede, DESY
Version
Id:
LCGenericObjectStreamer.hh,v 1.2 2007-04-27 13:21:31 gaede Exp

Member Function Documentation

LCGenericObjectStreamer * lccd::LCGenericObjectStreamer::create ( )
virtual

Covariant factory method.

Subclasses need to return a new instance of their type.

Implements lccd::VCollectionStreamer.

void lccd::LCGenericObjectStreamer::retrieveFromDB ( const std::string &  s)
virtual

Reads collection from stream ( string) using XDR.

void lccd::LCGenericObjectStreamer::storeToDB ( std::string &  s) const
virtual

Writes collection to stream ( string) using XDR.


The documentation for this class was generated from the following files: