Interface for all lcio object SIO-handlers, has to be implemented for all event entities (hits, tracks, clusters,. More...
#include <SIO/SIOObjectHandler.h>
Public Member Functions | |
| virtual unsigned int | read (SIO_stream *stream, EVENT::LCObject **objP)=0 |
| Reads lcio objects from an SIO stream. | |
| virtual unsigned int | write (SIO_stream *stream, const EVENT::LCObject *obj)=0 |
| Writes lcio 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. | |
| virtual unsigned int | readBase (SIO_stream *stream, EVENT::LCObject **objP) |
| Calls read() if the collection is not a subset otherwise only reads the pointers. | |
| virtual unsigned int | writeBase (SIO_stream *stream, const EVENT::LCObject *obj) |
| Calls write() if the collection is not a subset otherwise only writes the pointers. | |
Interface for all lcio object SIO-handlers, has to be implemented for all event entities (hits, tracks, clusters,.
..).
| unsigned int SIO::SIOObjectHandler::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 in SIO::SIOLCGenericObjectHandler, and SIO::SIOVertexHandler.
References EVENT::LCCollection::getFlag(), EVENT::LCCollection::getParameters(), EVENT::LCCollection::parameters(), read(), EVENT::LCCollection::setFlag(), and write().
| unsigned int SIO::SIOObjectHandler::readBase | ( | SIO_stream * | stream, | |
| EVENT::LCObject ** | objP | |||
| ) | [virtual] |
| unsigned int SIO::SIOObjectHandler::writeBase | ( | SIO_stream * | stream, | |
| const EVENT::LCObject * | obj | |||
| ) | [virtual] |
1.6.1