Implementation of SIOObjectHandler to handle IO of LCGenericObjects. More...
#include <SIO/SIOLCGenericObjectHandler.h>
Public Member Functions | |
virtual unsigned int | read (SIO_stream *stream, EVENT::LCObject **objP) |
Reads lcio LCGenericObject objects from an SIO stream. | |
virtual unsigned int | write (SIO_stream *stream, const EVENT::LCObject *obj) |
Writes lcio LCGenericObject objects to an SIO stream. | |
virtual unsigned int | init (SIO_stream *stream, SIO_operation op, EVENT::LCCollection *col, unsigned int vers) |
Initialize the handler and/or the collection. |
Implementation of SIOObjectHandler to handle IO of LCGenericObjects.
unsigned int SIO::SIOLCGenericObjectHandler::init | ( | SIO_stream * | stream, | |
SIO_operation | op, | |||
EVENT::LCCollection * | col, | |||
unsigned int | vers | |||
) | [virtual] |
Initialize the handler and/or the collection.
Read/write the flag and the parameters. Overwrite for classes that need specific processing.
Reimplemented from SIO::SIOObjectHandler.
References EVENT::LCCollection::getElementAt(), EVENT::LCCollection::getFlag(), EVENT::LCCollection::getNumberOfElements(), EVENT::LCCollection::getParameters(), EVENT::LCParameters::getStringVal(), EVENT::LCGenericObject::isFixedSize(), EVENT::LCCollection::parameters(), read(), EVENT::LCCollection::setFlag(), EVENT::LCParameters::setValue(), and write().