LCIO  "2.7.4"
 All Classes Namespaces Functions Variables Typedefs Friends Pages
SIOLCGenericObjectHandler.h
1 #ifndef SIO_SIOLCGENERICOBJECTHANDLER_H
2 #define SIO_SIOLCGENERICOBJECTHANDLER_H 1
3 
4 #include "SIO/SIOObjectHandler.h"
5 
6 #include "EVENT/LCEvent.h"
7 
8 namespace SIO {
9 
10 
11 
18 
19  public:
20 
23  virtual unsigned int read(SIO_stream* stream,
24  EVENT::LCObject** objP) ;
25 
29  virtual unsigned int write(SIO_stream* stream,
30  const EVENT::LCObject* obj) ;
31 
32  virtual unsigned int init( SIO_stream* stream, SIO_operation op,
33  EVENT::LCCollection* col , unsigned int vers ) ;
34 
35 
36  protected:
37  int _nInt ;
38  int _nFloat ;
39  int _nDouble ;
40  bool _isFixedSize ;
41 
42  }; // class
43 
44 } // namespace
45 #endif /* ifndef SIO_SIOLCGENERICOBJECTHANDLER_H */
The generic object that is held in an LCCollection.
Definition: LCObject.h:30
Implementation of SIOObjectHandler to handle IO of LCGenericObjects.
Definition: SIOLCGenericObjectHandler.h:17
virtual unsigned int init(SIO_stream *stream, SIO_operation op, EVENT::LCCollection *col, unsigned int vers)
Initialize the handler and/or the collection.
Definition: SIOLCGenericObjectHandler.cc:22
Interface for all lcio object SIO-handlers, has to be implemented for all event entities (hits...
Definition: SIOObjectHandler.h:21
virtual unsigned int read(SIO_stream *stream, EVENT::LCObject **objP)
Reads lcio LCGenericObject objects from an SIO stream.
Definition: SIOLCGenericObjectHandler.cc:112
virtual unsigned int write(SIO_stream *stream, const EVENT::LCObject *obj)
Writes lcio LCGenericObject objects to an SIO stream.
Definition: SIOLCGenericObjectHandler.cc:144
The generic collection used in LCIO.
Definition: LCCollection.h:29