File CollectionBuffers.h
-
namespace podio
Typedefs
-
using VectorMembersInfo = std::vector<std::pair<std::string, void*>>
-
struct CollectionReadBuffers
- #include <podio/CollectionBuffers.h>
Public Types
-
using CreateFuncT = std::function<std::unique_ptr<podio::CollectionBase>(podio::CollectionReadBuffers, bool)>
-
using RecastFuncT = std::function<void(CollectionReadBuffers&)>
-
using DeleteFuncT = std::function<void(CollectionReadBuffers&)>
Public Functions
-
inline CollectionReadBuffers(void *d, CollRefCollection *ref, VectorMembersInfo *vec, SchemaVersionT version, std::string_view typ, CreateFuncT &&createFunc, RecastFuncT &&recastFunc, DeleteFuncT &&deleteFunc)
-
CollectionReadBuffers() = default
-
CollectionReadBuffers(const CollectionReadBuffers&) = default
-
CollectionReadBuffers &operator=(const CollectionReadBuffers&) = default
-
inline CollectionReadBuffers(CollectionWriteBuffers buffers)
Public Members
-
void *data = {nullptr}
-
CollRefCollection *references = {nullptr}
-
VectorMembersInfo *vectorMembers = {nullptr}
-
SchemaVersionT schemaVersion = {0}
-
std::string_view type = {}
-
CreateFuncT createCollection = {}
-
RecastFuncT recast = {}
-
DeleteFuncT deleteBuffers = {}
-
using CreateFuncT = std::function<std::unique_ptr<podio::CollectionBase>(podio::CollectionReadBuffers, bool)>
-
struct CollectionWriteBuffers
- #include <podio/CollectionBuffers.h>
Simple helper struct that bundles all the potentially necessary buffers that are necessary to represent a collection for I/O purposes.
Public Members
-
void *data = {nullptr}
-
void *vecPtr = {nullptr}
-
CollRefCollection *references = {nullptr}
-
VectorMembersInfo *vectorMembers = {nullptr}
-
void *data = {nullptr}
-
using VectorMembersInfo = std::vector<std::pair<std::string, void*>>