LCCD  1.3.1
LCGenericObjectStreamer.hh
1 #ifndef LCGenericObjectStreamer_h
2 #define LCGenericObjectStreamer_h
3 
4 #include "lccd.h"
5 #include "VCollectionStreamer.hh"
6 
7 // -- lcio headers
8 #include "lcio.h"
9 #include "EVENT/LCCollection.h"
10 
11 
12 namespace lccd {
13 
14 
22 
23  public:
24 
26 
27  virtual ~LCGenericObjectStreamer() {} ;
28 
29 
31  virtual void storeToDB(std::string &s) const ;
32 
33 
35  virtual void retrieveFromDB(const std::string &s) ;
36 
37 
41  virtual LCGenericObjectStreamer* create() ;
42 
43 
44  protected:
45 
46 
47  };
48 
49 } //end namespace
50 
51 #endif // LCGenericObjectStreamer_h
52 
virtual void retrieveFromDB(const std::string &s)
Reads collection from stream ( string) using XDR.
Definition: LCGenericObjectStreamer.cc:142
virtual void storeToDB(std::string &s) const
Writes collection to stream ( string) using XDR.
Definition: LCGenericObjectStreamer.cc:30
virtual LCGenericObjectStreamer * create()
Covariant factory method.
Definition: LCGenericObjectStreamer.cc:231
Base class for LCCollection streamer classes.
Definition: LCGenericObjectStreamer.hh:21
Base class for LCCollection streamer classes.
Definition: VCollectionStreamer.hh:24