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. More... | |
Public Member Functions inherited from SIO::SIOObjectHandler | |
| 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 | |
| int | _nInt |
| int | _nFloat |
| int | _nDouble |
| bool | _isFixedSize |
Protected Attributes inherited from SIO::SIOObjectHandler | |
| unsigned int | _flag |
| unsigned int | _vers |
Implementation of SIOObjectHandler to handle IO of LCGenericObjects.
|
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 IMPL::LCFlagImpl::bitSet(), EVENT::LCCollection::getElementAt(), EVENT::LCCollection::getFlag(), EVENT::LCCollection::getNumberOfElements(), EVENT::LCCollection::getParameters(), EVENT::LCParameters::getStringVal(), EVENT::LCGenericObject::isFixedSize(), EVENT::LCCollection::parameters(), EVENT::LCCollection::setFlag(), and EVENT::LCParameters::setValue().
1.8.6