#include <VCollectionStreamer.hh>
Inheritance diagram for lccd::VCollectionStreamer:
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 VCollectionStreamer * | create ()=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 |
|
Covariant factory method. Subclasses need to return a new instance of their type. Implemented in lccd::LCGenericObjectStreamer. |
|
Get the collection retrieved from the database. It is the callers responsibility to delete the collection. FIXME: is this reasonable ? |