Go to the source code of this file.
◆ SET_PORTABLEHOSTCOLLECTION_READ_RULES
#define SET_PORTABLEHOSTCOLLECTION_READ_RULES |
( |
|
COLLECTION | ) |
|
◆ SET_PORTABLEHOSTMULTICOLLECTION_READ_RULES
#define SET_PORTABLEHOSTMULTICOLLECTION_READ_RULES |
( |
|
COLLECTION | ) |
|
Value:static bool EDM_CONCATENATE(set_PortableHostMultiCollection_read_rules_done_at_, __LINE__) [[maybe_unused]] = \
ROOT::set_PortableHostMultiCollection_read_rules<COLLECTION>(
EDM_STRINGIZE(COLLECTION))
#define EDM_CONCATENATE(a, b)
#define EDM_STRINGIZE(token)
Definition at line 133 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_);
◆ readPortableHostMultiCollection_v1()
template<typename T >
static void readPortableHostMultiCollection_v1 |
( |
char * |
target, |
|
|
TVirtualObject * |
from_buffer |
|
) |
| |
|
static |
Definition at line 42 of file PortableHostCollectionReadRules.h.
References filterCSVwithJSON::target.
45 using Implementation =
typename Collection::Implementation;
52 Implementation &impl_;
56 char *address =
static_cast<char *
>(from_buffer->GetObject());
58 static ptrdiff_t impl_offset = from_buffer->GetClass()->GetDataMemberOffset(
"impl_");
60 OnFile onfile = {*(Implementation *)(address + impl_offset)};
63 Collection *newObj = (Collection *)
target;
66 Collection::ROOTReadStreamer(newObj, onfile.impl_);