00001 #ifndef SIO_SIOLCGENERICOBJECTHANDLER_H
00002 #define SIO_SIOLCGENERICOBJECTHANDLER_H 1
00003
00004 #include "SIO/SIOObjectHandler.h"
00005
00006 #include "EVENT/LCEvent.h"
00007
00008 namespace SIO {
00009
00010
00011
00017 class SIOLCGenericObjectHandler : public SIOObjectHandler {
00018
00019 public:
00020
00023 virtual unsigned int read(SIO_stream* stream,
00024 EVENT::LCObject** objP) ;
00025
00029 virtual unsigned int write(SIO_stream* stream,
00030 const EVENT::LCObject* obj) ;
00031
00032 virtual unsigned int init( SIO_stream* stream, SIO_operation op,
00033 EVENT::LCCollection* col , unsigned int vers ) ;
00034
00035
00036 protected:
00037 int _nInt{0} ;
00038 int _nFloat{0} ;
00039 int _nDouble{0} ;
00040 bool _isFixedSize{false} ;
00041
00042 };
00043
00044 }
00045 #endif