LCCD
1.5.0
|
Base class for LCCollection streamer classes. More...
#include <VCollectionStreamer.hh>
Public Member Functions | |
VCollectionStreamer (const VCollectionStreamer &)=delete | |
VCollectionStreamer & | operator= (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... | |
virtual VCollectionStreamer * | create ()=0 |
Covariant factory method. More... | |
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 = nullptr |
Base class for LCCollection streamer classes.
|
pure virtual |
Covariant factory method.
Subclasses need to return a new instance of their type.
Implemented in lccd::LCGenericObjectStreamer.
Referenced by lccd::StreamerMgr::getStreamer().
|
inlinevirtual |
Get the collection retrieved from the database.
It is the callers responsibility to delete the collection.