1 #ifndef SIO_SIOCOLLECTIONHANDLER_H 
    2 #define SIO_SIOCOLLECTIONHANDLER_H 1 
   12 #include <sio/block.h> 
   16   class SIOObjectHandler ;
 
   41     void read( sio::read_device &device, sio::version_type vers ) 
override ;
 
   42     void write( sio::write_device &device ) 
override ;
 
Handler for LCCollection/LCCollectionIOVec objects for SIO. 
 
EVENT::LCCollection * _collection
The collection to read/write. 
 
const std::string & type() const 
Get the collection type. 
 
std::shared_ptr< SIOObjectHandler > _handler
The object handler for reading/writing. 
 
void read(sio::read_device &device, sio::version_type vers) override
 
~SIOCollectionHandler()=default
 
void write(sio::write_device &device) override
 
SIOCollectionHandler & operator=(const SIOCollectionHandler &)=delete
 
The generic collection used in LCIO. 
 
void setCollection(EVENT::LCCollection *col)
Set the collection to read/write. 
 
SIOCollectionHandler()=delete