PODIO v00-16-03
An Event-Data-Model Toolkit for High Energy Physics Experiments
|
#include <CollectionBuffers.h>
Public Types | |
using | CreateFuncT = std::function< std::unique_ptr< podio::CollectionBase >(podio::CollectionReadBuffers, bool)> |
using | RecastFuncT = std::function< void(CollectionReadBuffers &)> |
Public Member Functions | |
CollectionReadBuffers (void *d, CollRefCollection *ref, VectorMembersInfo *vec, CreateFuncT &&createFunc, RecastFuncT &&recastFunc) | |
CollectionReadBuffers ()=default | |
CollectionReadBuffers (const CollectionReadBuffers &)=default | |
CollectionReadBuffers & | operator= (const CollectionReadBuffers &)=default |
CollectionReadBuffers (CollectionWriteBuffers buffers) | |
template<typename DataT > | |
std::vector< DataT > * | dataAsVector () |
Static Public Member Functions | |
template<typename T > | |
static std::vector< T > * | asVector (void *raw) |
Public Attributes | |
void * | data {nullptr} |
CollRefCollection * | references {nullptr} |
VectorMembersInfo * | vectorMembers {nullptr} |
CreateFuncT | createCollection {} |
RecastFuncT | recast {} |
Definition at line 43 of file CollectionBuffers.h.
using podio::CollectionReadBuffers::CreateFuncT = std::function<std::unique_ptr<podio::CollectionBase>(podio::CollectionReadBuffers, bool)> |
Definition at line 48 of file CollectionBuffers.h.
using podio::CollectionReadBuffers::RecastFuncT = std::function<void(CollectionReadBuffers&)> |
Definition at line 49 of file CollectionBuffers.h.
|
inline |
Definition at line 51 of file CollectionBuffers.h.
|
default |
|
default |
|
inline |
Definition at line 64 of file CollectionBuffers.h.
|
inlinestatic |
Definition at line 74 of file CollectionBuffers.h.
|
inline |
Definition at line 69 of file CollectionBuffers.h.
Referenced by podio::UserDataCollection< BasicType, typename >::createBuffers(), and podio::SIOBlockUserData< BasicType, typename >::createBuffers().
|
default |
CreateFuncT podio::CollectionReadBuffers::createCollection {} |
Definition at line 79 of file CollectionBuffers.h.
Referenced by podio::SIOBlockUserData< BasicType, typename >::createBuffers(), and podio::SIOBlock::getCollection().
void* podio::CollectionReadBuffers::data {nullptr} |
Definition at line 44 of file CollectionBuffers.h.
Referenced by podio::UserDataCollection< BasicType, typename >::createBuffers(), dataAsVector(), podio::SIOBlockUserData< BasicType, typename >::read(), and podio::SIOBlockUserData< BasicType, typename >::write().
RecastFuncT podio::CollectionReadBuffers::recast {} |
Definition at line 100 of file CollectionBuffers.h.
CollRefCollection* podio::CollectionReadBuffers::references {nullptr} |
Definition at line 45 of file CollectionBuffers.h.
Referenced by podio::SIOBlockUserData< BasicType, typename >::createBuffers().
VectorMembersInfo* podio::CollectionReadBuffers::vectorMembers {nullptr} |
Definition at line 46 of file CollectionBuffers.h.
Referenced by podio::SIOBlockUserData< BasicType, typename >::createBuffers().