lccd::VCollectionStreamer Class Reference

Base class for LCCollection streamer classes. More...

#include <VCollectionStreamer.hh>

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

List of all members.

Public Member Functions

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.
virtual VCollectionStreamercreate ()=0
 Covariant factory method.

Protected Member Functions

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

lcio::LCCollection * _col

Detailed Description

Base class for LCCollection streamer classes.

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

Member Function Documentation

virtual VCollectionStreamer* lccd::VCollectionStreamer::create (  )  [pure virtual]

Covariant factory method.

Subclasses need to return a new instance of their type.

Implemented in lccd::LCGenericObjectStreamer.

Referenced by lccd::StreamerMgr::getStreamer().

virtual lcio::LCCollection* lccd::VCollectionStreamer::getCollection (  )  [inline, virtual]

Get the collection retrieved from the database.

It is the callers responsibility to delete the collection. FIXME: is this reasonable ?


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

Generated on 22 Nov 2017 for LCCD by  doxygen 1.6.1