Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members

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.1.1.1 2005/02/10 12:17:54 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.

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 file:
Generated on Fri Sep 9 12:30:33 2005 for LCCD by doxygen 1.3.5