Handler for LCCollection/LCCollectionIOVec objects for SIO. More...
#include <SIO/SIOCollectionHandler.h>
Public Member Functions | |
SIOCollectionHandler (const SIOCollectionHandler &) | |
SIOCollectionHandler & | operator= (const SIOCollectionHandler &) |
SIOCollectionHandler (const std::string &name, const std::string &type, IOIMPL::LCEventIOImpl **anEvtP=0) | |
The default constructor needs the name, the type and a pointer the address of the collection. | |
const std::string & | getTypeName () const |
virtual unsigned int | xfer (SIO_stream *, SIO_operation, unsigned int) |
virtual unsigned int | version () |
void | setCollection (const EVENT::LCCollection *col) |
void | setEvent (IOIMPL::LCEventIOImpl **anEvtP) |
Handler for LCCollection/LCCollectionIOVec objects for SIO.
SIO::SIOCollectionHandler::SIOCollectionHandler | ( | const std::string & | name, | |
const std::string & | type, | |||
IOIMPL::LCEventIOImpl ** | anEvtP = 0 | |||
) |
The default constructor needs the name, the type and a pointer the address of the collection.
Throws an exception if handler for given type doesn't exist.
Exception |
References SIO::SIOHandlerMgr::getHandler(), and SIO::SIOHandlerMgr::instance().