Go to the source code of this file.
◆ SET_PORTABLEHOSTCOLLECTION_READ_RULES
#define SET_PORTABLEHOSTCOLLECTION_READ_RULES |
( |
|
COLLECTION | ) |
|
Value:static bool EDM_CONCATENATE(set_PortableHostCollection_read_rules_done_at_, __LINE__) [[maybe_unused]] = \
ROOT::set_PortableHostCollection_read_rules<COLLECTION>(
EDM_STRINGIZE(COLLECTION))
#define EDM_CONCATENATE(a, b)
#define EDM_STRINGIZE(token)
Definition at line 72 of file PortableHostCollectionReadRules.h.
◆ readPortableHostCollection_v1()
template<typename T >
static void readPortableHostCollection_v1 |
( |
char * |
target, |
|
|
TVirtualObject * |
from_buffer |
|
) |
| |
|
static |
Definition at line 13 of file PortableHostCollectionReadRules.h.
References filterCSVwithJSON::target.
16 using Layout =
typename Collection::Layout;
27 char *address =
static_cast<char *
>(from_buffer->GetObject());
29 static ptrdiff_t layout_offset = from_buffer->GetClass()->GetDataMemberOffset(
"layout_");
31 OnFile onfile = {*(Layout *)(address + layout_offset)};
34 Collection *newObj = (Collection *)
target;
37 Collection::ROOTReadStreamer(newObj, onfile.layout_);