00001 #ifndef LCGenericObjectStreamer_h
00002 #define LCGenericObjectStreamer_h
00003
00004 #ifdef USE_CONDDB
00005
00006 #include "lccd.h"
00007 #include "VCollectionStreamer.hh"
00008
00009
00010 #include "lcio.h"
00011 #include "EVENT/LCCollection.h"
00012
00013
00014 namespace lccd {
00015
00016
00023 class LCGenericObjectStreamer : public VCollectionStreamer {
00024
00025 public:
00026
00027 LCGenericObjectStreamer() ;
00028
00029 virtual ~LCGenericObjectStreamer() {} ;
00030
00031
00033 virtual void storeToDB(std::string &s) const ;
00034
00035
00037 virtual void retrieveFromDB(const std::string &s) ;
00038
00039
00043 virtual LCGenericObjectStreamer* create() ;
00044
00045
00046 protected:
00047
00048
00049 };
00050
00051 } ;
00052
00053 #endif // USE_CONDDB
00054 #endif // LCGenericObjectStreamer_h