LCIO  "2.7.4"
 All Classes Namespaces Functions Variables Typedefs Friends Pages
Public Member Functions | Protected Attributes | List of all members
SIO::SIOObjectHandler Class Referenceabstract

Interface for all lcio object SIO-handlers, has to be implemented for all event entities (hits, tracks, clusters,...). More...

#include <SIO/SIOObjectHandler.h>

Inheritance diagram for SIO::SIOObjectHandler:
SIO::SIOCalHitHandler SIO::SIOClusterHandler SIO::SIOFloatVecHandler SIO::SIOIntVecHandler SIO::SIOLCGenericObjectHandler SIO::SIOLCRelationHandler SIO::SIOParticleHandler SIO::SIORawCalHitHandler SIO::SIOReconstructedParticleHandler SIO::SIOSimCalHitHandler SIO::SIOSimTrackHitHandler SIO::SIOStrVecHandler SIO::SIOTPCHitHandler SIO::SIOTrackerDataHandler SIO::SIOTrackerHitHandler SIO::SIOTrackerHitPlaneHandler SIO::SIOTrackerHitZCylinderHandler SIO::SIOTrackerPulseHandler SIO::SIOTrackerRawDataHandler SIO::SIOTrackHandler SIO::SIOVertexHandler

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. More...
 
virtual unsigned int readBase (SIO_stream *stream, EVENT::LCObject **objP)
 Calls read() if the collection is not a subset otherwise only reads the pointers. More...
 
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. More...
 

Protected Attributes

unsigned int _flag
 
unsigned int _vers
 

Detailed Description

Interface for all lcio object SIO-handlers, has to be implemented for all event entities (hits, tracks, clusters,...).

Author
gaede
Version
Id:
SIOObjectHandler.h,v 1.10 2008-11-27 16:53:35 engels Exp

Member Function Documentation

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(), and EVENT::LCCollection::setFlag().

unsigned int SIO::SIOObjectHandler::readBase ( SIO_stream *  stream,
EVENT::LCObject **  objP 
)
virtual

Calls read() if the collection is not a subset otherwise only reads the pointers.

unsigned int SIO::SIOObjectHandler::writeBase ( SIO_stream *  stream,
const EVENT::LCObject obj 
)
virtual

Calls write() if the collection is not a subset otherwise only writes the pointers.


The documentation for this class was generated from the following files: