PODIO v00-16-03
An Event-Data-Model Toolkit for High Energy Physics Experiments
|
factory for creating sio::blocks for a given type of EDM-collection More...
#include <SIOBlock.h>
Public Member Functions | |
void | registerBlockForCollection (const std::string &type, SIOBlock *b) |
std::shared_ptr< SIOBlock > | createBlock (const podio::CollectionBase *col, const std::string &name) const |
std::shared_ptr< SIOBlock > | createBlock (const std::string &typeStr, const std::string &name, const bool isRefColl=false) const |
Static Public Member Functions | |
static SIOBlockFactory & | instance () |
factory for creating sio::blocks for a given type of EDM-collection
Definition at line 218 of file SIOBlock.h.
std::shared_ptr< SIOBlock > podio::SIOBlockFactory::createBlock | ( | const podio::CollectionBase * | col, |
const std::string & | name | ||
) | const |
Definition at line 110 of file SIOBlock.cc.
Referenced by podio::sio_utils::createBlocks().
std::shared_ptr< SIOBlock > podio::SIOBlockFactory::createBlock | ( | const std::string & | typeStr, |
const std::string & | name, | ||
const bool | isRefColl = false |
||
) | const |
Definition at line 97 of file SIOBlock.cc.
|
inlinestatic |
Definition at line 236 of file SIOBlock.h.
Referenced by podio::sio_utils::createBlocks(), podio::SIOWriter::registerForWrite(), and podio::SIOBlockUserData< BasicType, typename >::SIOBlockUserData().
|
inline |
Definition at line 226 of file SIOBlock.h.
Referenced by podio::SIOBlockUserData< BasicType, typename >::SIOBlockUserData().