1 #ifndef SIO_SIOLCGENERICOBJECTHANDLER_H
2 #define SIO_SIOLCGENERICOBJECTHANDLER_H 1
25 void read( sio::read_device& device,
EVENT::LCObject* objP, sio::version_type vers )
override ;
The generic object that is held in an LCCollection.
Implementation of SIOObjectHandler to handle IO of LCGenericObjects.
void initWriting(sio::write_device &device, EVENT::LCCollection *collection) override
Init collection reading.
void read(sio::read_device &device, EVENT::LCObject *objP, sio::version_type vers) override
Reads lcio objects from an SIO stream.
EVENT::LCObject * create() const override
Factory method to create an object of the type of the collection.
Interface for all lcio object SIO-handlers, has to be implemented for all event entities (hits...
void write(sio::write_device &device, const EVENT::LCObject *obj) override
Writes lcio objects to an SIO stream.
SIOLCGenericObjectHandler()
Constructor.
The generic collection used in LCIO.
void initReading(sio::read_device &device, EVENT::LCCollection *collection, sio::version_type vers) override
Init collection reading.