1 #ifndef SIO_SIOLCGENERICOBJECTHANDLER_H
2 #define SIO_SIOLCGENERICOBJECTHANDLER_H 1
4 #include "SIO/SIOObjectHandler.h"
6 #include "EVENT/LCEvent.h"
23 virtual unsigned int read(SIO_stream* stream,
29 virtual unsigned int write(SIO_stream* stream,
32 virtual unsigned int init( SIO_stream* stream, SIO_operation op,
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