53 return isEmulated || (isVector && hasDefaultAlloc);
56 template <
typename From>
61 template <
typename From>
104 printf(
"StreamerInfoAction, class:%s, name=%s, fType[%d]=%d,"
105 " %s, offset=%d (%s), elemnId=%d \n",
121 printf(
"StreamerInfoAction, class:%s, name=%s, fType[%d]=%d,"
122 " %s, bufpos=%d, arr=%p, offset=%d (%s)\n",
132 printf(
"TLoopConfiguration: unconfigured\n");
164 printf(
"StreamerInfoAction, class:%s, name=%s, fType[%d]=%d,"
165 " %s, offset=%d (%s)\n",
205 std::unique_ptr<TStreamerInfoActions::TActionSequence>
fActions;
208 std::unique_ptr<TStreamerInfoActions::TActionSequence> actions) :
265 char *obj = (
char*)addr;
272 char *obj = (
char*)addr;
277 template <
typename T>
280 T *
x = (T*)( ((
char*)addr) + config->
fOffset );
299 uid = ( obj->
GetUniqueID() & 0xffffff) + (gpid<<24);
308 void *
x = (
void *)(((
char *)addr) + config->
fOffset);
316 void *
x = (
void *)(((
char *)addr) + config->
fOffset);
348 auto memoryClass = conf->fInMemoryClass;
349 auto onfileClass = conf->fOnfileClass;
351 char *
const where = (((
char*)addr)+config->
fOffset);
361 [[maybe_unused]]
auto memoryClass = conf->fInMemoryClass;
362 auto onfileClass = conf->fOnfileClass;
363 assert((memoryClass ==
nullptr || memoryClass == onfileClass)
364 &&
"Need to new TBufferFile::WriteClassBuffer overload to support this case");
366 char *
const where = (((
char*)addr)+config->
fOffset);
387 template <
typename T>
394 template <
typename T>
397 T *
x = (T *)(((
char *)addr) + config->
fOffset);
403 template <
typename Onfile,
typename Memory>
409 temp = (Onfile)(*(Memory*)( ((
char*)addr) + config->
fOffset ));
417 void *
x = (
void *)(((
char *)addr) + config->
fOffset);
425 void *
x = (
void *)(((
char *)addr) + config->
fOffset);
433 void *
x = (
void *)(((
char *)addr) + config->
fOffset);
441 void *
x = (
void *)(((
char *)addr) + config->
fOffset);
448 void *
x = (
void *)(((
char *)addr) + config->
fOffset);
455 void *
x = (
void *)(((
char *)addr) + config->
fOffset);
464 void *
x = (
void *)(((
char *)addr) + config->
fOffset);
471 void *
x = (
void *)(((
char *)addr) + config->
fOffset);
521 TConfWithFactor(
TVirtualStreamerInfo *info,
UInt_t id,
TCompInfo_t *compinfo,
Int_t offset,
Double_t factor,
Double_t xmin) :
TConfiguration(info,id,compinfo,
offset),
fFactor(factor),
fXmin(
xmin) {};
525 template <
typename T>
544 template <
typename T>
562 ((
TString*)(((
char*)addr)+config->
fOffset))->TString::Streamer(buf);
572 ((
TString*)(((
char*)addr)+config->
fOffset))->TString::Streamer(buf);
582 ((
TObject*)(((
char*)addr)+config->
fOffset))->TObject::Streamer(buf);
592 ((
TObject*)(((
char*)addr)+config->
fOffset))->TObject::Streamer(buf);
653 TConfiguration(info,id,compinfo,
offset,
length),
fOldClass(oldClass),
fNewClass(oldClass),
fStreamer(0),
fTypeName(type_name),
fIsSTLBase(isbase),
657 TConfiguration(info,id,compinfo,
offset,
length),
fOldClass(oldClass),
fNewClass(newClass),
fStreamer(0),
fTypeName(type_name),
fIsSTLBase(isbase),
661 TConfiguration(info,id,compinfo,
offset,
length),
fOldClass(oldClass),
fNewClass(oldClass),
fStreamer(streamer),
fTypeName(type_name),
fIsSTLBase(isbase),
664 TConfigSTL(
Bool_t read,
TVirtualStreamerInfo *info,
UInt_t id,
TCompInfo_t *compinfo,
Int_t offset,
UInt_t length,
TClass *oldClass,
TClass *newClass,
TMemberStreamer* streamer,
const char *type_name,
Bool_t isbase) :
665 TConfiguration(info,id,compinfo,
offset,
length),
fOldClass(oldClass),
fNewClass(newClass),
fStreamer(streamer),
fTypeName(type_name),
fIsSTLBase(isbase),
699 printf(
"TVectorLoopConfig: increment=%ld\n",
fIncrement);
771 void*
GetFirstAddress(
void *start_collection,
const void *end_collection)
const override
777 void *arr0 =
fNext(iter,end_collection);
778 if (iter != &iterator[0]) {
807 void* alternative = oldProxy->
Allocate(nobjects,
true);
813 void *begin = &(startbuf[0]);
814 void *end = &(endbuf[0]);
819 if (begin != &(startbuf[0])) {
824 oldProxy->
Commit(alternative);
839 void* env = oldProxy->
Allocate(nobjects,
true);
841 if (nobjects || vers < 7 ) {
872 int objectSize = oldClass->
Size();
873 char *obj = (
char*)addr;
874 char *endobj = obj + conf->
fLength*objectSize;
876 for(; obj<endobj; obj+=objectSize) {
880 void* alternative = oldProxy->
Allocate(nobjects,
true);
884 void *begin = &(startbuf[0]);
885 void *end = &(endbuf[0]);
890 if (begin != &(startbuf[0])) {
895 oldProxy->
Commit(alternative);
908 int objectSize = oldClass->
Size();
909 char *obj = (
char*)addr;
910 char *endobj = obj + conf->
fLength*objectSize;
912 for(; obj<endobj; obj+=objectSize) {
916 void* env = oldProxy->
Allocate(nobjects,
true);
918 if (nobjects || vers < 7 ) {
941 Error(
"ReadSTLMemberWiseChangedClass",
"Unfortunately, version %d of TStreamerInfo (used in %s) did not record enough information to convert a %s into a %s.",
942 vers, buf.
GetParent() ? buf.
GetParent()->
GetName() :
"memory/socket", oldClass ? oldClass->
GetName() :
"(could not find the origin TClass)", newClass ? newClass->
GetName() :
"(could not find the destination TClass)" );
943 }
else if (newClass && oldClass){
953 void* alternative = newProxy->
Allocate(nobjects,
true);
958 void *begin = &(startbuf[0]);
959 void *end = &(endbuf[0]);
964 if (begin != &(startbuf[0])) {
969 newProxy->
Commit(alternative);
985 Error(
"ReadSTLMemberWiseChangedClass",
"Unfortunately, version %d of TStreamerInfo (used in %s) did not record enough information to convert a %s into a %s.",
986 vers, buf.
GetParent() ? buf.
GetParent()->
GetName() :
"memory/socket", oldClass ? oldClass->
GetName() :
"(could not find the origin TClass)", newClass ? newClass->
GetName() :
"(could not find the destination TClass)" );
987 }
else if (newClass && oldClass) {
994 int objectSize = newClass->
Size();
995 char *obj = (
char*)addr;
996 char *endobj = obj + conf->
fLength*objectSize;
998 for(; obj<endobj; obj+=objectSize) {
1002 void* alternative = newProxy->
Allocate(nobjects,
true);
1007 void *begin = &(startbuf[0]);
1008 void *end = &(endbuf[0]);
1013 if (begin != &(startbuf[0])) {
1018 newProxy->
Commit(alternative);
1073 assert(newClass && onfileClass && newClass == onfileClass &&
1074 "Class level transformation while writing is not yet supported");
1076 if (newClass && onfileClass) {
1090 void *begin = &(startbuf[0]);
1091 void *end = &(endbuf[0]);
1096 if (begin != &(startbuf[0])) {
1119 assert(newClass && onfileClass && newClass == onfileClass &&
1120 "Class level transformation while writing is not yet supported");
1122 if (newClass && onfileClass) {
1129 int objectSize = newClass->
Size();
1130 char *obj = (
char*)addr;
1131 char *endobj = obj + conf->
fLength * objectSize;
1133 for (; obj < endobj; obj += objectSize) {
1141 void *begin = &(startbuf[0]);
1142 void *end = &(endbuf[0]);
1147 if (begin != &(startbuf[0])) {
1176 memberwise(buf,((
char*)addr)+config->
fOffset,config, vers);
1178 objectwise(buf,((
char*)addr)+config->
fOffset,config, vers, start);
1199 && !(strspn(aElement->
GetTitle(),
"||") == 2)
1203 memberwise(buf, ((
char *)addr) + config->
fOffset, config);
1206 objectwise(buf, ((
char *)addr) + config->
fOffset, config);
1212 template <
typename From,
typename To>
1219 *(To*)( ((
char*)addr) + config->
fOffset ) = (To)temp;
1224 template <
typename To>
1236 *(To*)( ((
char*)addr) + config->
fOffset ) = (To)temp;
1241 template <
typename From,
typename To>
1249 *(To*)( ((
char*)addr) + config->
fOffset ) = (To)temp;
1254 template <
typename From,
typename To>
1262 *(To*)( ((
char*)addr) + config->
fOffset ) = (To)temp;
1280 printf(
"StreamerInfoAction, class:%s, PushDataCache offset=%d\n",
1283 printf(
"StreamerInfoAction, class:%s, PopDataCache offset=%d\n",
1290 printf(
"StreamerInfoAction, class:%s, %sDataCache, bufpos=%d, arr=%p, offset=%d, onfileObject=%p\n",
1303 b.PushDataCache( onfileObject );
1314 b.PushDataCache( onfileObject );
1327 onfileObject->SetSize(
n);
1328 b.PushDataCache( onfileObject );
1365 fprintf(stdout,
"StreamerInfoAction, class:%s, name=%s, fType[%d]=%d,"
1366 " %s, bufpos=%d, arr=%p, eoffset=%d, Redirect=%p\n",
1368 aElement->
ClassName(),
b.Length(),addr, 0,
b.PeekDataCache() ?
b.PeekDataCache()->GetObjectAt(0) : 0);
1385 Int_t bufpos =
b.Length();
1390 Warning(
"ReadBuffer",
"Skipping %s::%s because the cache is missing.",info->
GetName(),aElement->
GetName());
1391 char *ptr = (
char*)addr;
1398 b.SetBufferOffset(bufpos);
1406 Int_t bufpos =
b.Length();
1412 Warning(
"ReadBuffer",
"Skipping %s::%s because the cache is missing.",info->
GetName(),aElement->
GetName());
1413 char *ptr = (
char*)start;
1414 UInt_t n = (((
void**)end)-((
void**)start));
1418 void *cached_start = (*cached)[0];
1419 void *cached_end = ((
char*)cached_start) + cached->
fSize * cached_config.
fIncrement;
1420 config->
fAction(
b,cached_start,cached_end,&cached_config);
1424 b.SetBufferOffset(bufpos);
1433 Int_t bufpos =
b.Length();
1438 Warning(
"ReadBuffer",
"Skipping %s::%s because the cache is missing.",info->
GetName(),aElement->
GetName());
1439 char *ptr = (
char*)start;
1444 void *cached_start = (*cached)[0];
1445 void *cached_end = ((
char*)cached_start) + cached->
fSize * cached_config.
fIncrement;
1446 config->
fAction(
b,cached_start,cached_end,&cached_config);
1450 b.SetBufferOffset(bufpos);
1459 Int_t bufpos =
b.Length();
1466 Warning(
"ReadBuffer",
"Skipping %s::%s because the cache is missing.",info->
GetName(),aElement->
GetName());
1471 void *cached_start = (*cached)[0];
1472 void *cached_end = ((
char*)cached_start) + cached->
fSize * cached_config.
fIncrement;
1473 config->
fAction(
b,cached_start,cached_end,&cached_config);
1477 b.SetBufferOffset(bufpos);
1527 template<
typename Looper>
1533 static std::unique_ptr<TStreamerInfoActions::TActionSequence>
1536 std::unique_ptr<TLoopConfiguration> localLoopConfig{ loopConfig ? loopConfig->
Copy() :
nullptr };
1537 std::unique_ptr<TStreamerInfoActions::TActionSequence> actions(
1545 static std::unique_ptr<TStreamerInfoActions::TActionSequence>
1548 std::unique_ptr<TLoopConfiguration> localLoopConfig{ loopConfig ? loopConfig->
Copy() :
nullptr };
1549 std::unique_ptr<TStreamerInfoActions::TActionSequence> actions(
1557 auto actions = conf->fActions.get();
1568 Looper::template LoopOverCollection< ReadViaExtStreamer >(buf, start, end, loopconfig, config);
1578 Looper::template LoopOverCollection< WriteViaExtStreamer >(buf, start, end, loopconfig, config);
1591 (*pstreamer)(buf, (
char *) addr + ioffset , *counter);
1595 template<
bool kIsTextT>
1609 char** pp = (
char**) ((
char *) addr + ioffset );
1652 char** pp = (
char**) ((
char *) addr + ioffset );
1676 char**
r = (
char**) pp[ndx];
1686 template<
bool kIsTextT,
typename... Ts>
1695 Looper::template LoopOverCollection< StreamerLoopExternal > (buf, start, args..., config);
1715 if (fileVersion > 51508) {
1718 Looper::template LoopOverCollection< WriteStreamerLoopPoly<kIsTextT> > (buf, start, args..., config);
1723 Looper::template LoopOverCollection< ReadStreamerLoopStatic > (buf, start, args..., config);
1732 template<
bool kIsTextT>
1749 char **pp = (
char **)((
char *)addr + ioffset );
1802 pp[ndx] = (
char *)cl->
NewArray(vlen);
1804 Error(
"ReadBuffer",
"Memory allocation failed!\n");
1811 pp[ndx] = (
char *)
new char *[vlen];
1813 Error(
"ReadBuffer",
"Memory allocation failed!\n");
1817 memset(pp[ndx], 0, vlen *
sizeof(
char *));
1847 char **pp = (
char **)((
char *)addr + ioffset );
1897 pp[ndx] = (
char *)cl->
NewArray(vlen);
1899 Error(
"ReadBuffer",
"Memory allocation failed!\n");
1906 pp[ndx] = (
char *)
new char *[vlen];
1908 Error(
"ReadBuffer",
"Memory allocation failed!\n");
1912 memset(pp[ndx], 0, vlen *
sizeof(
char *));
1925 char **
r = (
char **)pp[ndx];
1929 r[
v] = (
char *)cl->
New();
1943 template<
bool kIsTextT,
typename... Ts>
1956 Looper::template LoopOverCollection< StreamerLoopExternal > (buf, start, args..., config);
1977 if (fileVersion > 51508) {
1981 Looper::template LoopOverCollection< ReadStreamerLoopPoly<kIsTextT> > (buf, start, args..., config);
1986 Looper::template LoopOverCollection< ReadStreamerLoopStatic > (buf, start, args..., config);
2000 template <Int_t (*iter_action)(TBuffer&,
void *,const TConfiguration*)>
2003 iter_action(buf, start, config);
2012 template <
bool kIsText>
2014 template <
bool kIsText>
2017 template <Int_t (*iter_action)(TBuffer&,
void *,const TConfiguration*)>
2023 for(
void *iter = start; iter != end; iter = (
char*)iter + incr ) {
2024 iter_action(buf, iter, config);
2029 template <
typename T>
2033 iter = (
char*)iter + config->
fOffset;
2034 end = (
char*)end + config->
fOffset;
2035 for(; iter != end; iter = (
char*)iter + incr ) {
2036 T *
x = (T*) ((
char*) iter);
2042 template <
typename From,
typename To>
2049 iter = (
char*)iter + config->
fOffset;
2050 end = (
char*)end + config->
fOffset;
2051 for(; iter != end; iter = (
char*)iter + incr ) {
2053 *(To*)( ((
char*)iter) ) = (To)temp;
2059 template <
typename To>
2066 iter = (
char*)iter + config->
fOffset;
2067 end = (
char*)end + config->
fOffset;
2068 for(; iter != end; iter = (
char*)iter + incr ) {
2075 *(To*)( ((
char*)iter) ) = (To)temp;
2081 template <
typename From,
typename To>
2089 iter = (
char*)iter + config->
fOffset;
2090 end = (
char*)end + config->
fOffset;
2091 for(; iter != end; iter = (
char*)iter + incr ) {
2093 *(To*)( ((
char*)iter) ) = (To)temp;
2099 template <
typename From,
typename To>
2107 iter = (
char*)iter + config->
fOffset;
2108 end = (
char*)end + config->
fOffset;
2109 for(; iter != end; iter = (
char*)iter + incr ) {
2111 *(To*)( ((
char*)iter) ) = (To)temp;
2117 template <
typename T>
2121 iter = (
char*)iter + config->
fOffset;
2122 end = (
char*)end + config->
fOffset;
2123 for(; iter != end; iter = (
char*)iter + incr ) {
2124 T *
x = (T*) ((
char*) iter);
2130 template <
typename Onfile,
typename Memory>
2135 iter = (
char*)iter + config->
fOffset;
2136 end = (
char*)end + config->
fOffset;
2137 for(; iter != end; iter = (
char*)iter + incr ) {
2139 Onfile temp = (Onfile)(*(Memory*)((
char*) iter));
2146 template <
typename Onfile,
typename Memory>
2152 iter = (
char*)iter + config->
fOffset;
2153 end = (
char*)end + config->
fOffset;
2154 for(; iter != end; iter = (
char*)iter + incr ) {
2156 Onfile temp = (Onfile)(*(Memory*)((
char*) iter));
2163 template <
typename Onfile,
typename Memory>
2169 iter = (
char*)iter + config->
fOffset;
2170 end = (
char*)end + config->
fOffset;
2171 for(; iter != end; iter = (
char*)iter + incr ) {
2173 Onfile temp = (Onfile)(*(Memory*)((
char*) iter));
2186 UInt_t n = (((
char*)end)-((
char*)start))/incr;
2187 char **arrptr =
new char*[
n];
2189 for(
void *iter = start; iter != end; iter = (
char*)iter + incr, ++i ) {
2190 arrptr[i] = (
char*)iter;
2203 UInt_t n = (((
char*)end)-((
char*)start))/incr;
2204 char **arrptr =
new char*[
n];
2206 for(
void *iter = start; iter != end; iter = (
char*)iter + incr, ++i ) {
2207 arrptr[i] = (
char*)iter;
2219 UInt_t n = (((
char*)end)-((
char*)start))/incr;
2220 char **arrptr =
new char*[
n];
2222 for(
void *iter = start; iter != end; iter = (
char*)iter + incr, ++i ) {
2223 arrptr[i] = (
char*)iter;
2235 UInt_t n = (((
char*)end)-((
char*)start))/incr;
2236 char **arrptr =
new char*[
n];
2238 for(
void *iter = start; iter != end; iter = (
char*)iter + incr, ++i ) {
2239 arrptr[i] = (
char*)iter;
2246 template <
typename T>
2255 std::vector<T> *
const vec = (std::vector<T>*)(((
char*)addr)+config->
fOffset);
2258 vec->resize(nvalues);
2260#ifdef R__VISUAL_CPLUSPLUS
2266 T *begin = vec->data();
2273 template <
typename T>
2281 std::vector<T> *
const vec = (std::vector<T>*)(((
char*)addr)+config->
fOffset);
2282 Int_t nvalues = vec->size();
2285 T *begin = vec->data();
2300 std::vector<float> *
const vec = (std::vector<float>*)(((
char*)addr)+config->
fOffset);
2303 vec->resize(nvalues);
2305#ifdef R__VISUAL_CPLUSPLUS
2311 float *begin = vec->data();
2325 std::vector<float> *
const vec = (std::vector<float>*)(((
char*)addr)+config->
fOffset);
2326 Int_t nvalues = vec->size();
2329 float *begin = vec->data();
2344 std::vector<double> *
const vec = (std::vector<double>*)(((
char*)addr)+config->
fOffset);
2347 vec->resize(nvalues);
2349#ifdef R__VISUAL_CPLUSPLUS
2355 double *begin = vec->data();
2369 std::vector<double> *
const vec = (std::vector<double>*)(((
char*)addr)+config->
fOffset);
2370 Int_t nvalues = vec->size();
2373 double *begin = vec->data();
2380 template <
typename From,
typename To>
2390 std::vector<To> *
const vec = (std::vector<To>*)(((
char*)addr)+config->
fOffset);
2393 vec->resize(nvalues);
2395 From *temp =
new From[nvalues];
2397 for(
Int_t ind = 0; ind < nvalues; ++ind) {
2398 (*vec)[ind] = (To)temp[ind];
2407 template <
typename From,
typename To>
2417 std::vector<To> *
const vec = (std::vector<To>*)(((
char*)addr)+config->
fOffset);
2420 vec->resize(nvalues);
2422 From *temp =
new From[nvalues];
2424 for(
Int_t ind = 0; ind < nvalues; ++ind) {
2425 (*vec)[ind] = (To)temp[ind];
2434 template <
typename To>
2443 std::vector<To> *
const vec = (std::vector<To>*)(((
char*)addr)+config->
fOffset);
2446 vec->resize(nvalues);
2450 for(
Int_t ind = 0; ind < nvalues; ++ind) {
2451 (*vec)[ind] = (To)temp[ind];
2459 template <
typename Memory,
typename Onfile>
2468 std::vector<Memory> *
const vec = (std::vector<Memory>*)(((
char*)addr)+config->
fOffset);
2469 Int_t nvalues = vec->size();
2474 Onfile *temp =
new Onfile[nvalues];
2475 for(
Int_t ind = 0; ind < nvalues; ++ind) {
2476 temp[ind] = (Onfile)((*vec)[ind]);
2493 template <
bool kIsText>
2495 template <
bool kIsText>
2498 static std::unique_ptr<TStreamerInfoActions::TActionSequence>
2501 using unique_ptr = std::unique_ptr<TStreamerInfoActions::TActionSequence>;
2505 static std::unique_ptr<TStreamerInfoActions::TActionSequence>
2508 using unique_ptr = std::unique_ptr<TStreamerInfoActions::TActionSequence>;
2512 template <Int_t (*action)(TBuffer&,
void *,const TConfiguration*)>
2515 for(
void *iter = start; iter != end; iter = (
char*)iter +
sizeof(
void*) ) {
2516 action(buf, *(
void**)iter, config);
2524 auto actions = conf->fActions.get();
2530 template <
typename T>
2535 for(; iter != end; iter = (
char*)iter +
sizeof(
void*) ) {
2536 T *
x = (T*)( ((
char*) (*(
void**)iter) ) +
offset );
2542 template <
typename From,
typename To>
2549 for(; iter != end; iter = (
char*)iter +
sizeof(
void*) ) {
2551 To *
x = (To*)( ((
char*) (*(
void**)iter) ) +
offset );
2558 template <
typename To>
2565 for(; iter != end; iter = (
char*)iter +
sizeof(
void*) ) {
2572 To *
x = (To*)( ((
char*) (*(
void**)iter) ) +
offset );
2579 template <
typename From,
typename To>
2587 for(; iter != end; iter = (
char*)iter +
sizeof(
void*) ) {
2589 To *
x = (To*)( ((
char*) (*(
void**)iter) ) +
offset );
2596 template <
typename From,
typename To>
2604 for(; iter != end; iter = (
char*)iter +
sizeof(
void*) ) {
2606 To *
x = (To*)( ((
char*) (*(
void**)iter) ) +
offset );
2613 template <
typename T>
2618 for(; iter != end; iter = (
char*)iter +
sizeof(
void*) ) {
2619 T *
x = (T*)( ((
char*) (*(
void**)iter) ) +
offset );
2625 template <
typename To,
typename From>
2631 for(; iter != end; iter = (
char*)iter +
sizeof(
void*) ) {
2632 From *from = (From*)( ((
char*) (*(
void**)iter) ) +
offset );
2633 To to = (To)(*from);
2640 template <
typename To,
typename From>
2647 for(; iter != end; iter = (
char*)iter +
sizeof(
void*) ) {
2648 From *from = (From*)( ((
char*) (*(
void**)iter) ) +
offset );
2649 To to = (To)(*from);
2655 template <
typename To,
typename From>
2662 for(; iter != end; iter = (
char*)iter +
sizeof(
void*) ) {
2663 From *from = (From*)( ((
char*) (*(
void**)iter) ) +
offset );
2664 To to = (To)(*from);
2692 LoopOverCollection< ReadViaExtStreamer >(buf, start, end, config);
2702 LoopOverCollection< WriteViaExtStreamer >(buf, start, end, config);
2710 Int_t n = ( ((
void**)end) - ((
void**)iter) );
2711 char **arr = (
char**)iter;
2717 Int_t n = ( ((
void**)end) - ((
void**)iter) );
2718 char **arr = (
char**)iter;
2729 template <
typename T>
2745 template <
typename T>
2761 template <
typename T>
2777 template <
typename T,
void (*action)(TBuffer&,
void *,Int_t)>
2792 void* alternative = newProxy->
Allocate(nvalues,
true);
2796 void *begin = &(startbuf[0]);
2797 void *end = &(endbuf[0]);
2802 action(buf,begin,nvalues);
2804 if (begin != &(startbuf[0])) {
2809 newProxy->
Commit(alternative);
2815 template <
void (*action)(TBuffer&,
void*, const TStreamerElement*)>
2819 while( (addr = next(iter, end)) )
2821 action(buf, addr, elem);
2825 template <
typename Memory,
typename Onfile,
void (*action)(TBuffer&,
void*, Int_t, const TStreamerElement *elem)>
2828 Onfile *temp =
new Onfile[nvalues];
2831 while( (addr = next(iter, end)) )
2833 temp[ind] = (Onfile)*(Memory*)addr;
2836 action(buf, temp, nvalues, elem);
2840 template <
typename T,
void (*action)(TBuffer&,
void *, const
void *, Next_t, Int_t, const TStreamerElement *elem)>
2850 void *collection = ((
char*)addr)+config->
fOffset;
2858 void *begin = &(startbuf[0]);
2859 void *end = &(endbuf[0]);
2864 if (begin != &(startbuf[0])) {
2876 return ReadNumericalCollection<Float_t,SimpleReadFloat16 >(buf,addr,conf);
2881 return WriteNumericalCollection<Float_t,LoopOverCollection<SimpleWriteFloat16> >(buf,addr,conf);
2886 return ReadNumericalCollection<Double_t,SimpleReadDouble32 >(buf,addr,conf);
2891 return WriteNumericalCollection<Double_t,LoopOverCollection<SimpleWriteDouble32> >(buf,addr,conf);
2894 template <
typename T>
2897 return ReadNumericalCollection<T,SimpleRead<T> >(buf,addr,conf);
2900 template <
typename T>
2903 return WriteNumericalCollection<T, LoopOverCollection<SimpleWrite<T>> >(buf,addr,conf);
2906 template <
typename From,
typename To>
2910 From *temp =
new From[nvalues];
2912 To *vec = (To*)addr;
2913 for(
Int_t ind = 0; ind < nvalues; ++ind) {
2914 vec[ind] = (To)temp[ind];
2920 template <
typename From,
typename To>
2924 From *temp =
new From[nvalues];
2926 To *vec = (To*)addr;
2927 for(
Int_t ind = 0; ind < nvalues; ++ind) {
2928 vec[ind] = (To)temp[ind];
2934 template <
typename From,
typename To>
2938 From *temp =
new From[nvalues];
2941 To *vec = (To*)addr;
2942 for(
Int_t ind = 0; ind < nvalues; ++ind) {
2943 vec[ind] = (To)temp[ind];
2948 template <
typename From,
typename To>
2952 return ReadNumericalCollection<To,ConvertRead<From,To>::Action >(buf,addr,conf);
2956 template <
typename Memory,
typename Onfile>
2960 return WriteNumericalCollection<Memory, ConvertLoopOverCollection<Memory, Onfile, ArrayWrite<Onfile>> >(buf,addr,conf);
2963 template <
typename Memory,
typename Onfile>
2967 return WriteNumericalCollection<Memory, ConvertLoopOverCollection<Memory,Onfile, ArrayWriteCompressed> >(buf,addr,conf);
2971 template <
typename Memory,
typename Onfile>
2975 return WriteNumericalCollection<Memory, ConvertLoopOverCollection<Memory,Onfile, ArrayWriteCompressed> >(buf,addr,conf);
2984 template <
bool kIsText>
2986 template <
bool kIsText>
2989 template <
typename T>
3000 while( (addr = next(iter,end)) ) {
3001 T *
x = (T*)( ((
char*)addr) +
offset );
3004 if (iter != &iterator[0]) {
3010 template <
typename T>
3021 while( (addr = next(iter,end)) ) {
3022 T *
x = (T*)( ((
char*)addr) +
offset );
3025 if (iter != &iterator[0]) {
3031 template <
typename To,
typename From>
3043 while( (addr = next(iter,end)) ) {
3044 From *
x = (From*)( ((
char*)addr) +
offset );
3048 if (iter != &iterator[0]) {
3055 template <Int_t (*iter_action)(TBuffer&,
void *,const TConfiguration*)>
3066 while( (addr = next(iter,end)) ) {
3067 iter_action(buf, addr, config);
3069 if (iter != &iterator[0]) {
3075 template <
typename From,
typename To>
3087 while( (addr = next(iter,end)) ) {
3088 To *
x = (To*)( ((
char*)addr) +
offset );
3092 if (iter != &iterator[0]) {
3108 while( (addr = next(iter,end)) ) {
3109 From *
x = (From*)( ((
char*)addr) +
offset );
3113 if (iter != &iterator[0]) {
3119 template <
typename From,
typename To>
3132 while( (addr = next(iter,end)) ) {
3133 To *
x = (To*)(addr);
3149 while( (addr = next(iter,end)) ) {
3150 From *
x = (From*)(addr);
3157 template <
typename From,
typename To,
template <
typename F,
typename T>
class Converter = Generic >
3167 From *items =
new From[nvalues];
3169 Converter<From,To>::ConvertAction(items,start,end,loopconfig,config);
3175 template <
typename To>
3186 UInt_t *items = items_storage;
3194 while( (addr = next(iter,end)) ) {
3199 To *
x = (To*)( ((
char*)addr) +
offset );
3203 if (iter != &iterator[0]) {
3207 delete [] items_storage;
3212 template <
typename From,
typename To,
template <
typename F,
typename T>
class Converter >
3224 From *items =
new From[nvalues];
3226 Converter<From,To>::ConvertAction(items,start,end,loopconfig,config);
3232 template <
typename From,
typename To,
template <
typename F,
typename T>
class Converter >
3244 From *items =
new From[nvalues];
3246 Converter<From,To>::ConvertAction(items,start,end,loopconfig,config);
3252 template <
typename Onfile,
typename Memory,
template <
typename F,
typename T>
class Converter = Generic >
3262 Onfile *items =
new Onfile[nvalues];
3263 Converter<Memory,Onfile>::WriteConvertAction(start, end, loopconfig, config, items);
3270 template <
typename Onfile,
typename Memory,
template <
typename F,
typename T>
class Converter >
3282 Onfile *items =
new Onfile[nvalues];
3283 Converter<Memory,Onfile>::WriteConvertAction(start, end, loopconfig, config, items);
3284 R__ASSERT(
false &&
"Not yet implemented");
3292 template <
typename Onfile,
typename Memory,
template <
typename F,
typename T>
class Converter >
3304 Onfile *items =
new Onfile[nvalues];
3305 Converter<Memory,Onfile>::WriteConvertAction(start, end, loopconfig, config, items);
3306 R__ASSERT(
false &&
"Not yet implemented");
3319 return GenericRead(buf,start,end,loopconfig, config);
3344 template <
typename T>
3375 template <
typename ActionHolder>
3390 void* alternative = newProxy->
Allocate(nvalues,
true);
3394 void *begin = &(startbuf[0]);
3395 void *end = &(endbuf[0]);
3401 ActionHolder::Action(buf,begin,end,&loopconf,config);
3403 if (begin != &(startbuf[0])) {
3408 newProxy->
Commit(alternative);
3414 template <
typename ActionHolder>
3424 void *collection = ((
char*)addr)+config->
fOffset;
3432 void *begin = &(startbuf[0]);
3433 void *end = &(endbuf[0]);
3439 ActionHolder::Action(buf,begin,end,&loopconf,config);
3441 if (begin != &(startbuf[0])) {
3453 return ReadNumericalCollection<ConvertBasicType<NoFactorMarker<float>, float,
Numeric > >(buf,addr,conf);
3458 return WriteNumericalCollection<WriteConvertBasicType<NoFactorMarker<float>, float,
Numeric > >(buf,addr,conf);
3463 return ReadNumericalCollection<ConvertBasicType<float,double,Numeric > >(buf,addr,conf);
3470 return WriteNumericalCollection<WriteConvertBasicType<float, double ,Numeric > >(buf,addr,conf);
3475 template <
typename T>
3480 return ReadNumericalCollection<ConvertBasicType<T,T,Numeric > >(buf,addr,conf);
3483 template <
typename T>
3488 return WriteNumericalCollection<WriteConvertBasicType<T,T,Numeric > >(buf,addr,conf);
3491 template <
typename From,
typename To>
3496 return ReadNumericalCollection<ConvertBasicType<From,To,Numeric > >(buf,addr,conf);
3500 template <
typename Memory,
typename Onfile>
3505 return WriteNumericalCollection<WriteConvertBasicType<Memory,Onfile,Numeric > >(buf,addr,conf);
3513template <
typename Looper,
typename From>
3540template <
class Looper>
3562 case TStreamerInfo::kBits:
Error(
"GetNumericCollectionReadAction",
"There is no support for kBits outside of a TObject.");
break;
3591 Fatal(
"GetNumericCollectionReadAction",
"Is confused about %d",
type);
3596template <
typename Looper,
typename From>
3619 Error(
"GetConvertCollectionReadActionFrom",
"UNEXPECTED: newtype == %d", newtype);
3627template <
typename Looper>
3632 return GetConvertCollectionReadActionFrom<Looper,Bool_t>(newtype, conf );
3634 return GetConvertCollectionReadActionFrom<Looper,Char_t>(newtype, conf );
3636 return GetConvertCollectionReadActionFrom<Looper,Short_t>(newtype, conf );
3638 return GetConvertCollectionReadActionFrom<Looper,Int_t>(newtype, conf );
3640 return GetConvertCollectionReadActionFrom<Looper,Long_t>(newtype, conf );
3642 return GetConvertCollectionReadActionFrom<Looper,Long64_t>(newtype, conf );
3644 return GetConvertCollectionReadActionFrom<Looper,Float_t>( newtype, conf );
3646 return GetConvertCollectionReadActionFrom<Looper,Double_t>(newtype, conf );
3648 return GetConvertCollectionReadActionFrom<Looper,UChar_t>(newtype, conf );
3650 return GetConvertCollectionReadActionFrom<Looper,UShort_t>(newtype, conf );
3652 return GetConvertCollectionReadActionFrom<Looper,UInt_t>(newtype, conf );
3654 return GetConvertCollectionReadActionFrom<Looper,ULong_t>(newtype, conf );
3656 return GetConvertCollectionReadActionFrom<Looper,ULong64_t>(newtype, conf );
3658 return GetConvertCollectionReadActionFrom<Looper,NoFactorMarker<Float16_t> >( newtype, conf );
3660 return GetConvertCollectionReadActionFrom<Looper,NoFactorMarker<Double32_t> >( newtype, conf );
3662 Error(
"GetConvertCollectionReadAction",
"There is no support for kBits outside of a TObject.");
3667 Error(
"GetConvertCollectionReadAction",
"UNEXPECTED: oldtype == %d", oldtype);
3672template <
class Looper>
3698 if (!nbits) nbits = 12;
3731 auto baseActions = Looper::CreateReadActionSequence(*baseinfo, loopConfig);
3732 baseActions->AddToOffset(baseEl->
GetOffset());
3754 return TConfiguredAction( Looper::template LoopOverCollection<ReadViaClassBuffer>,
3757 return TConfiguredAction( Looper::template LoopOverCollection<ReadViaClassBuffer>,
3797 if (!nbits) nbits = 12;
3798 return GetCollectionReadConvertAction<Looper,NoFactorMarker<float> >(element->
GetNewType(),
new TConfNoFactor(info,i,compinfo,
offset,nbits) );
3809 return GetCollectionReadConvertAction<Looper,NoFactorMarker<double> >(element->
GetNewType(),
new TConfNoFactor(info,i,compinfo,
offset,nbits) );
3820template <
typename Looper,
typename From>
3823 switch (onfileType) {
3842 Error(
"GetConvertCollectionWriteActionFrom",
"Write Conversion to Float16_t not yet supported");
3846 Error(
"GetConvertCollectionWriteActionFrom",
"Write Conversion to Double32_t not yet supported");
3852 Error(
"GetConvertCollectionWriteActionFrom",
"UNEXPECTED: onfileType/oldtype == %d", onfileType);
3860template <
typename Looper>
3863 switch (memoryType) {
3865 return GetConvertCollectionWriteActionFrom<Looper,Bool_t>(onfileType, conf );
3867 return GetConvertCollectionWriteActionFrom<Looper,Char_t>(onfileType, conf );
3869 return GetConvertCollectionWriteActionFrom<Looper,Short_t>(onfileType, conf );
3871 return GetConvertCollectionWriteActionFrom<Looper,Int_t>(onfileType, conf );
3873 return GetConvertCollectionWriteActionFrom<Looper,Long_t>(onfileType, conf );
3875 return GetConvertCollectionWriteActionFrom<Looper,Long64_t>(onfileType, conf );
3877 return GetConvertCollectionWriteActionFrom<Looper,Float_t>(onfileType, conf );
3879 return GetConvertCollectionWriteActionFrom<Looper,Double_t>(onfileType, conf );
3881 return GetConvertCollectionWriteActionFrom<Looper,UChar_t>(onfileType, conf );
3883 return GetConvertCollectionWriteActionFrom<Looper,UShort_t>(onfileType, conf );
3885 return GetConvertCollectionWriteActionFrom<Looper,UInt_t>(onfileType, conf );
3887 return GetConvertCollectionWriteActionFrom<Looper,ULong_t>(onfileType, conf );
3889 return GetConvertCollectionWriteActionFrom<Looper,ULong64_t>(onfileType, conf );
3891 return GetConvertCollectionWriteActionFrom<Looper,Float16_t>(onfileType, conf );
3893 return GetConvertCollectionWriteActionFrom<Looper,Double32_t>(onfileType, conf );
3895 Error(
"GetConvertCollectionWriteActionFrom",
"There is no support for kBits outside of a TObject.");
3900 Error(
"GetConvertCollectionWriteActionFrom",
"UNEXPECTED: memoryType/newype == %d", memoryType);
3908template <
typename Looper,
typename Onfile>
3935template <
class Looper>
4022 if (!nbits) nbits = 12;
4023 return GetCollectionWriteConvertAction<Looper,NoFactorMarker<float> >(element->
GetNewType(),
new TConfNoFactor(info,i,compinfo,
offset,nbits) );
4035 return GetCollectionWriteConvertAction<Looper,NoFactorMarker<double> >(element->
GetNewType(),
new TConfNoFactor(info,i,compinfo,
offset,nbits) );
4050 auto baseActions = Looper::CreateWriteActionSequence(*baseinfo, loopConfig);
4051 baseActions->AddToOffset(baseEl->
GetOffset());
4073 return TConfiguredAction( Looper::template LoopOverCollection<WriteViaClassBuffer>,
4076 return TConfiguredAction( Looper::template LoopOverCollection<WriteViaClassBuffer>,
4088template <
class Looper>
4109 case TStreamerInfo::kBits:
Error(
"GetNumericCollectionWriteAction",
"There is no support for kBits outside of a TObject.");
break;
4138 Fatal(
"GetNumericCollectionWriteAction",
"Is confused about %d",
type);
4225 fNslots = ndata + ndata/2 + 1;
4244 for (i = 0; i < ndata; ++i) {
4288 if (!previousOptimized) {
4299 if (
fComp[keep].fLength == 0) {
4304 isOptimized =
kTRUE;
4305 previousOptimized =
kTRUE;
4306 }
else if (element->
GetType() < 0) {
4319 previousOptimized =
kFALSE;
4337 Warning(
"Compile",
"Counter %s should not be skipped from class %s", element->
GetName(),
GetName());
4348 if (
fComp[keep].fLength == 0) {
4352 previousOptimized =
kFALSE;
4362 for (i = 0; i <
fNdata; ++i) {
4391template <
typename From>
4414template <
typename Onfile>
4448 switch (compinfo->
fType) {
4469 if (!nbits) nbits = 12;
4499 if (newClass && newClass != oldClass) {
4501 readSequence->
AddAction(ReadSTL<ReadSTLMemberWiseChangedClass,ReadSTLObjectWiseStreamerV2>,
new TConfigSTL(
true,
this,i,compinfo,compinfo->
fOffset,1,oldClass,newClass,element->
GetStreamer(),element->
GetTypeName(),isSTLbase));
4503 readSequence->
AddAction(ReadSTL<ReadSTLMemberWiseChangedClass,ReadSTLObjectWiseFastArrayV2>,
new TConfigSTL(
true,
this,i,compinfo,compinfo->
fOffset,1,oldClass,newClass,element->
GetTypeName(),isSTLbase));
4507 readSequence->
AddAction(ReadSTL<ReadSTLMemberWiseSameClass,ReadSTLObjectWiseStreamerV2>,
new TConfigSTL(
true,
this,i,compinfo,compinfo->
fOffset,1,oldClass,element->
GetStreamer(),element->
GetTypeName(),isSTLbase));
4509 readSequence->
AddAction(ReadSTL<ReadSTLMemberWiseSameClass,ReadSTLObjectWiseFastArrayV2>,
new TConfigSTL(
true,
this,i,compinfo,compinfo->
fOffset,1,oldClass,element->
GetTypeName(),isSTLbase));
4513 if (newClass && newClass != oldClass) {
4515 readSequence->
AddAction(ReadSTL<ReadSTLMemberWiseChangedClass,ReadSTLObjectWiseStreamer>,
new TConfigSTL(
true,
this,i,compinfo,compinfo->
fOffset,1,oldClass,newClass,element->
GetStreamer(),element->
GetTypeName(),isSTLbase));
4516 }
else if (oldClass) {
4518 readSequence->
AddAction(ReadSTL<ReadSTLMemberWiseChangedClass,ReadSTLObjectWiseFastArray>,
new TConfigSTL(
true,
this,i,compinfo,compinfo->
fOffset,1,oldClass,newClass,element->
GetTypeName(),isSTLbase));
4522 readSequence->
AddAction(GetConvertCollectionReadAction<VectorLooper>(oldClass->
GetCollectionProxy()->
GetType(), newClass->
GetCollectionProxy()->
GetType(),
new TConfigSTL(
true,
this,i,compinfo,compinfo->
fOffset,1,oldClass,newClass,element->
GetTypeName(),isSTLbase)));
4525 readSequence->
AddAction(GetConvertCollectionReadAction<AssociativeLooper>(oldClass->
GetCollectionProxy()->
GetType(), newClass->
GetCollectionProxy()->
GetType(),
new TConfigSTL(
true,
this,i,compinfo,compinfo->
fOffset,1,oldClass,newClass,element->
GetTypeName(),isSTLbase)));
4531 readSequence->
AddAction(GetConvertCollectionReadAction<GenericLooper>(oldClass->
GetCollectionProxy()->
GetType(), newClass->
GetCollectionProxy()->
GetType(),
new TConfigSTL(
true,
this,i,compinfo,compinfo->
fOffset,1,oldClass,newClass,element->
GetTypeName(),isSTLbase)));
4538 readSequence->
AddAction(ReadSTL<ReadSTLMemberWiseSameClass,ReadSTLObjectWiseStreamer>,
new TConfigSTL(
true,
this,i,compinfo,compinfo->
fOffset,1,oldClass,element->
GetStreamer(),element->
GetTypeName(),isSTLbase));
4539 }
else if (oldClass) {
4541 readSequence->
AddAction(ReadSTL<ReadSTLMemberWiseSameClass,ReadSTLObjectWiseFastArray>,
new TConfigSTL(
true,
this,i,compinfo,compinfo->
fOffset,1,oldClass,element->
GetTypeName(),isSTLbase));
4563 if (newClass && newClass != oldClass) {
4565 readSequence->
AddAction(ReadSTL<ReadArraySTLMemberWiseChangedClass,ReadSTLObjectWiseStreamerV2>,
new TConfigSTL(
true,
this,i,compinfo,compinfo->
fOffset,element->
GetArrayLength(),oldClass,newClass,element->
GetStreamer(),element->
GetTypeName(),isSTLbase));
4567 readSequence->
AddAction(ReadSTL<ReadArraySTLMemberWiseChangedClass,ReadSTLObjectWiseFastArrayV2>,
new TConfigSTL(
true,
this,i,compinfo,compinfo->
fOffset,element->
GetArrayLength(),oldClass,newClass,element->
GetTypeName(),isSTLbase));
4571 readSequence->
AddAction(ReadSTL<ReadArraySTLMemberWiseSameClass,ReadSTLObjectWiseStreamerV2>,
new TConfigSTL(
true,
this,i,compinfo,compinfo->
fOffset,element->
GetArrayLength(),oldClass,element->
GetStreamer(),element->
GetTypeName(),isSTLbase));
4573 readSequence->
AddAction(ReadSTL<ReadArraySTLMemberWiseSameClass,ReadSTLObjectWiseFastArrayV2>,
new TConfigSTL(
true,
this,i,compinfo,compinfo->
fOffset,element->
GetArrayLength(),oldClass,element->
GetTypeName(),isSTLbase));
4577 if (newClass && newClass != oldClass) {
4579 readSequence->
AddAction(ReadSTL<ReadArraySTLMemberWiseChangedClass,ReadSTLObjectWiseStreamer>,
new TConfigSTL(
true,
this,i,compinfo,compinfo->
fOffset,element->
GetArrayLength(),oldClass,newClass,element->
GetStreamer(),element->
GetTypeName(),isSTLbase));
4581 readSequence->
AddAction(ReadSTL<ReadArraySTLMemberWiseChangedClass,ReadSTLObjectWiseFastArray>,
new TConfigSTL(
true,
this,i,compinfo,compinfo->
fOffset,element->
GetArrayLength(),oldClass,newClass,element->
GetTypeName(),isSTLbase));
4585 readSequence->
AddAction(ReadSTL<ReadArraySTLMemberWiseSameClass,ReadSTLObjectWiseStreamer>,
new TConfigSTL(
true,
this,i,compinfo,compinfo->
fOffset,element->
GetArrayLength(),oldClass,element->
GetStreamer(),element->
GetTypeName(),isSTLbase));
4587 readSequence->
AddAction(ReadSTL<ReadArraySTLMemberWiseSameClass,ReadSTLObjectWiseFastArray>,
new TConfigSTL(
true,
this,i,compinfo,compinfo->
fOffset,element->
GetArrayLength(),oldClass,element->
GetTypeName(),isSTLbase));
4642 if (!nbits) nbits = 12;
4643 AddReadConvertAction<NoFactorMarker<float> >(readSequence, compinfo->
fNewType,
new TConfNoFactor(
this,i,compinfo,compinfo->
fOffset,nbits) );
4655 AddReadConvertAction<NoFactorMarker<double> >(readSequence, compinfo->
fNewType,
new TConfNoFactor(
this,i,compinfo,compinfo->
fOffset,nbits) );
4663 readSequence->
AddAction(ScalarLooper::ReadStreamerLoop<false>::Action,
4673 auto memoryBaseCl = base && base->GetNewBaseClass() ? base->GetNewBaseClass() : onfileBaseCl;
4675 if(!base || !memoryBaseCl ||
4676 memoryBaseCl->GetStreamer() ||
4677 memoryBaseCl->GetStreamerFunc() || memoryBaseCl->GetConvStreamerFunc())
4731 switch (compinfo->
fType) {
4764 readSequence->
AddAction(ScalarLooper::ReadStreamerLoop<true>::Action,
4774 default:
generic =
kTRUE;
break;
4801 readSequence->
AddAction( GetCollectionReadAction<VectorPtrLooper>(
this,
nullptr,element,compinfo->
fType,i,compinfo,compinfo->
fOffset) );
4818 switch (compinfo->
fType) {
4872 if (newClass && newClass != onfileClass) {
4874 writeSequence->
AddAction(WriteSTL<WriteSTLMemberWise /* should be ChangedClass */, WriteSTLObjectWiseStreamer>,
4878 }
else if (onfileClass) {
4882 WriteSTL<WriteSTLObjectWiseStreamer /* should be ChangedClass */, WriteSTLObjectWiseFastArray>,
4883 new TConfigSTL(
false,
this, i, compinfo, compinfo->
fOffset, 1, onfileClass, newClass,
4888 writeSequence->
AddAction(GetConvertCollectionWriteAction<VectorLooper>(
4890 new TConfigSTL(
false,
this, i, compinfo, compinfo->
fOffset, 1, onfileClass, newClass,
4894 writeSequence->
AddAction(GetConvertCollectionWriteAction<AssociativeLooper>(
4896 new TConfigSTL(
false,
this, i, compinfo, compinfo->
fOffset, 1, onfileClass, newClass,
4904 writeSequence->
AddAction(GetConvertCollectionWriteAction<GenericLooper>(
4906 new TConfigSTL(
false,
this, i, compinfo, compinfo->
fOffset, 1, onfileClass, newClass,
4914 writeSequence->
AddAction(WriteSTL<WriteSTLMemberWise, WriteSTLObjectWiseStreamer>,
4918 }
else if (onfileClass) {
4922 writeSequence->
AddAction(WriteSTL<WriteSTLMemberWise, WriteSTLObjectWiseFastArray>,
4928 writeSequence->
AddAction(GetNumericCollectionWriteAction<VectorLooper>(
4934 writeSequence->
AddAction(GetNumericCollectionWriteAction<AssociativeLooper>(
4944 writeSequence->
AddAction(GetNumericCollectionWriteAction<GenericLooper>(
4954 if (newClass && newClass != onfileClass) {
4957 WriteSTL<WriteArraySTLMemberWise /* should be ChangedClass */, WriteSTLObjectWiseStreamer>,
4962 WriteSTL<WriteArraySTLMemberWise /* should be ChangedClass */, WriteSTLObjectWiseFastArray>,
4968 writeSequence->
AddAction(WriteSTL<WriteArraySTLMemberWise, WriteSTLObjectWiseStreamer>,
4973 writeSequence->
AddAction(WriteSTL<WriteArraySTLMemberWise, WriteSTLObjectWiseFastArray>,
4992 writeSequence->
AddAction(ScalarLooper::WriteStreamerLoop<false>::Action,
5002 auto memoryBaseCl = base && base->GetNewBaseClass() ? base->GetNewBaseClass() : onfileBaseCl;
5004 if(!base || !memoryBaseCl ||
5005 memoryBaseCl->GetStreamer() ||
5006 memoryBaseCl->GetStreamerFunc() || memoryBaseCl->GetConvStreamerFunc())
5085 switch (compinfo->
fType) {
5148 default:
generic =
kTRUE;
break;
5179 writeSequence->
AddAction( GetCollectionWriteAction<VectorPtrLooper>(
this,
nullptr,element,compinfo->
fType,i,compinfo,compinfo->
fOffset) );
5191 std::unique_ptr<TLoopConfiguration> loopConfig;
5202 loopConfig = std::make_unique<TVectorLoopConfig>(&proxy, increment,
kTRUE);
5209 loopConfig = std::make_unique<TVectorLoopConfig>(&proxy, increment,
kTRUE);
5212 loopConfig = std::make_unique<TGenericLoopConfig>(&proxy,
kTRUE);
5228 for (
UInt_t i = 0; i < ndata; ++i) {
5252 ::Warning(
"CreateReadMemberWiseActions",
"%s",
5265 if (newType != oldType) {
5285 TConfiguredAction action( GetCollectionReadAction<VectorLooper>(&info,loopConfig,element,oldType,i,compinfo,
offset) );
5288 sequence->
AddAction( GetCollectionReadAction<VectorLooper>(&info,loopConfig,element,oldType,i,compinfo,
offset));
5295 TConfiguredAction action( GetCollectionReadAction<VectorLooper>(&info,loopConfig,element,oldType,i,compinfo,
offset) );
5298 sequence->
AddAction( GetCollectionReadAction<GenericLooper>(&info,loopConfig,element,oldType,i,compinfo,
offset) );
5315 std::unique_ptr<TLoopConfiguration> loopConfig;
5326 loopConfig = std::make_unique<TVectorLoopConfig>(&proxy, increment,
kFALSE);
5328 loopConfig = std::make_unique<TGenericLoopConfig>(&proxy,
kFALSE);
5330 return CreateWriteMemberWiseActions(*info, std::move(loopConfig));
5346 for (
UInt_t i = 0; i < ndata; ++i) {
5371 if (memoryType != onfileType) {
5374 if (memoryType > 0) {
5401 sequence->
AddAction( GetCollectionWriteAction<GenericLooper>(&info,loopConfig,element,onfileType,i,compinfo,
offset) );
5404 sequence->
AddAction( GetCollectionWriteAction<VectorLooper>(&info,loopConfig,element,onfileType,i,compinfo,
offset) );
5407 sequence->
AddAction( GetCollectionWriteAction<VectorPtrLooper>(&info,loopConfig,element,onfileType,i,compinfo,
offset) );
5411 sequence->
AddAction( GetCollectionWriteAction<GenericLooper>(&info,loopConfig,element,onfileType,i,compinfo,
offset) );
5423 TStreamerInfoActions::ActionContainer_t::iterator end = fActions.end();
5424 for(TStreamerInfoActions::ActionContainer_t::iterator iter = fActions.begin();
5429 if (iter->fConfiguration->fElemId != (
UInt_t)-1 &&
5431 iter->fConfiguration->AddToOffset(delta);
5440 TStreamerInfoActions::ActionContainer_t::iterator end = fActions.end();
5441 for(TStreamerInfoActions::ActionContainer_t::iterator iter = fActions.begin();
5445 if (!iter->fConfiguration->fInfo->GetElements()->At(iter->fConfiguration->fElemId)->TestBit(
TStreamerElement::kCache))
5446 iter->fConfiguration->SetMissing();
5456 sequence->
fLoopConfig.reset(fLoopConfig ? fLoopConfig->Copy() :
nullptr);
5458 TStreamerInfoActions::ActionContainer_t::iterator end = fActions.end();
5459 for(TStreamerInfoActions::ActionContainer_t::iterator iter = fActions.begin();
5464 sequence->
AddAction( iter->fAction, conf );
5474 for(
UInt_t id = 0;
id < element_ids.size(); ++
id) {
5475 if ( element_ids[
id].fElemID < 0 ) {
5476 if (element_ids[
id].fNestedIDs) {
5477 auto original = create(element_ids[
id].fNestedIDs->fInfo,
5480 if (element_ids[
id].fNestedIDs->fOnfileObject) {
5490 original->AddToSubSequence(sequence, element_ids[
id].fNestedIDs->fIDs, element_ids[
id].fNestedIDs->fOffset, create);
5492 if (element_ids[
id].fNestedIDs->fOnfileObject) {
5503 TStreamerInfoActions::ActionContainer_t::iterator end = fActions.end();
5504 for(TStreamerInfoActions::ActionContainer_t::iterator iter = fActions.begin();
5509 if (!iter->fConfiguration->fInfo->GetElements()->At(iter->fConfiguration->fElemId)->TestBit(
TStreamerElement::kCache))
5511 sequence->
AddAction( iter->fAction, conf );
5515 TStreamerInfoActions::ActionContainer_t::iterator end = fActions.end();
5516 for(TStreamerInfoActions::ActionContainer_t::iterator iter = fActions.begin();
5519 if ( iter->fConfiguration->fElemId == (
UInt_t)element_ids[
id].fElemID ) {
5521 if (!iter->fConfiguration->fInfo->GetElements()->At(iter->fConfiguration->fElemId)->TestBit(
TStreamerElement::kCache))
5523 sequence->
AddAction( iter->fAction, conf );
5538 sequence->
fLoopConfig = std::unique_ptr<TLoopConfiguration>(fLoopConfig ? fLoopConfig->Copy() : 0);
5540 AddToSubSequence(sequence, element_ids,
offset, create);
5552 sequence->
fLoopConfig.reset(fLoopConfig ? fLoopConfig->Copy() : 0);
5554 for(
UInt_t id = 0;
id < element_ids.size(); ++
id) {
5555 if ( element_ids[
id] < 0 ) {
5556 TStreamerInfoActions::ActionContainer_t::iterator end = fActions.end();
5557 for(TStreamerInfoActions::ActionContainer_t::iterator iter = fActions.begin();
5562 if (!iter->fConfiguration->fInfo->GetElements()->At(iter->fConfiguration->fElemId)->TestBit(
TStreamerElement::kCache))
5564 sequence->
AddAction( iter->fAction, conf );
5567 TStreamerInfoActions::ActionContainer_t::iterator end = fActions.end();
5568 for(TStreamerInfoActions::ActionContainer_t::iterator iter = fActions.begin();
5571 if ( iter->fConfiguration->fElemId == (
UInt_t)element_ids[
id] ) {
5573 if (!iter->fConfiguration->fInfo->GetElements()->At(iter->fConfiguration->fElemId)->TestBit(
TStreamerElement::kCache))
5575 sequence->
AddAction( iter->fAction, conf );
5583#if !defined(R__WIN32)
5592#if defined(R__WIN32) || defined(__CYGWIN__)
5593 return "not available on this platform";
5595 MEMORY_BASIC_INFORMATION mbi;
5596 if (!VirtualQuery (func, &mbi,
sizeof (mbi)))
5601 HMODULE hMod = (HMODULE) mbi.AllocationBase;
5602 static char moduleName[MAX_PATH];
5604 if (!GetModuleFileNameA (hMod, moduleName,
sizeof (moduleName)))
5612 if (dladdr((
void*)func,&info)==0) {
5614 return "name not found";
5617 return info.dli_sname;
5629 fLoopConfig->Print();
5631 TStreamerInfoActions::ActionContainer_t::const_iterator end = fActions.end();
5632 for(TStreamerInfoActions::ActionContainer_t::const_iterator iter = fActions.begin();
5636 iter->fConfiguration->Print();
5637 if (strstr(opt,
"func")) {
T ReadBuffer(TBufferFile *buf)
One of the template functions used to read objects from messages.
unsigned short UShort_t
Unsigned Short integer 2 bytes (unsigned short)
int Int_t
Signed integer 4 bytes (int)
short Version_t
Class version identifier (short)
long Long_t
Signed long integer 4 bytes (long). Size depends on architecture.
unsigned int UInt_t
Unsigned integer 4 bytes (unsigned int)
float Float_t
Float 4 bytes (float)
const char Option_t
Option string (const char)
#define R__ASSERT(e)
Checks condition e and reports a fatal error if it's false.
void Error(const char *location, const char *msgfmt,...)
Use this function in case an error occurred.
void Warning(const char *location, const char *msgfmt,...)
Use this function in warning situations.
void Fatal(const char *location, const char *msgfmt,...)
Use this function in case of a fatal error. It will abort the program.
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void input
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h offset
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t r
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h length
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize id
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h Atom_t Int_t ULong_t ULong_t unsigned char prop_list Atom_t Atom_t Atom_t Time_t type
R__EXTERN TVirtualMutex * gInterpreterMutex
Int_t gDebug
Global variable setting the debug level. Set to 0 to disable, increase it in steps of 1 to increase t...
static TConfiguredAction GetNumericCollectionReadAction(Int_t type, TConfigSTL *conf)
static TConfiguredAction GetNumericCollectionWriteAction(Int_t type, TConfigSTL *conf)
static void AddWriteConvertAction(TStreamerInfoActions::TActionSequence *sequence, Int_t newtype, TConfiguration *conf)
static TConfiguredAction GetCollectionWriteConvertAction(Int_t newtype, TConfiguration *conf)
static void AddReadConvertAction(TStreamerInfoActions::TActionSequence *sequence, Int_t newtype, TConfiguration *conf)
static TConfiguredAction GetCollectionReadConvertAction(Int_t newtype, TConfiguration *conf)
static TConfiguredAction GetCollectionReadAction(TVirtualStreamerInfo *info, TLoopConfiguration *loopConfig, TStreamerElement *element, Int_t type, UInt_t i, TStreamerInfo::TCompInfo_t *compinfo, Int_t offset)
static const Int_t kRegrouped
static const char * R__GetSymbolName(voidfunc func)
static TConfiguredAction GetCollectionWriteAction(TVirtualStreamerInfo *info, TLoopConfiguration *loopConfig, TStreamerElement *element, Int_t type, UInt_t i, TStreamerInfo::TCompInfo_t *compinfo, Int_t offset)
static TConfiguredAction GetConvertCollectionReadAction(Int_t oldtype, Int_t newtype, TConfiguration *conf)
static TConfiguredAction GetConvertCollectionWriteAction(Int_t onfileType, Int_t memoryType, TConfiguration *conf)
static TConfiguredAction GetConvertCollectionReadActionFrom(Int_t newtype, TConfiguration *conf)
static TConfiguredAction GetConvertCollectionWriteActionFrom(Int_t onfileType, TConfiguration *conf)
#define ReadBasicType(name)
#define WriteBasicType(name)
#define R__LOCKGUARD(mutex)
Base class for text-based streamers like TBufferJSON or TBufferXML Special actions list will use meth...
Buffer base class used for serializing objects.
virtual void ReadWithNbits(Float_t *ptr, Int_t nbits)=0
virtual void ReadWithFactor(Float_t *ptr, Double_t factor, Double_t minvalue)=0
virtual Version_t ReadVersion(UInt_t *start=nullptr, UInt_t *bcnt=nullptr, const TClass *cl=nullptr)=0
virtual Int_t ApplySequenceVecPtr(const TStreamerInfoActions::TActionSequence &sequence, void *start_collection, void *end_collection)=0
virtual Version_t ReadVersionForMemberWise(const TClass *cl=nullptr)=0
virtual void WriteDouble32(Double_t *d, TStreamerElement *ele=nullptr)=0
virtual TProcessID * ReadProcessID(UShort_t pidf)=0
Return the current Process-ID.
virtual UInt_t WriteVersionMemberWise(const TClass *cl, Bool_t useBcnt=kFALSE)=0
virtual void SetByteCount(UInt_t cntpos, Bool_t packInVersion=kFALSE)=0
virtual void ReadInt(Int_t &i)=0
TObject * GetParent() const
Return pointer to parent of this buffer.
virtual void WriteFloat16(Float_t *f, TStreamerElement *ele=nullptr)=0
virtual UShort_t GetPidOffset() const =0
@ kCannotHandleMemberWiseStreaming
virtual void ReadFastArrayDouble32(Double_t *d, Int_t n, TStreamerElement *ele=nullptr)=0
virtual Int_t CheckByteCount(UInt_t startpos, UInt_t bcnt, const TClass *clss)=0
virtual void ReadFastArray(Bool_t *b, Int_t n)=0
virtual Int_t ReadClassBuffer(const TClass *cl, void *pointer, const TClass *onfile_class=nullptr)=0
virtual Int_t ApplySequence(const TStreamerInfoActions::TActionSequence &sequence, void *object)=0
virtual void ReadFastArrayWithNbits(Float_t *ptr, Int_t n, Int_t nbits)=0
void SetBufferOffset(Int_t offset=0)
virtual void WriteFastArrayFloat16(const Float_t *f, Long64_t n, TStreamerElement *ele=nullptr)=0
virtual void WriteFastArray(const Bool_t *b, Long64_t n)=0
virtual void ReadFastArrayWithFactor(Float_t *ptr, Int_t n, Double_t factor, Double_t minvalue)=0
virtual UInt_t WriteVersion(const TClass *cl, Bool_t useBcnt=kFALSE)=0
virtual void WriteInt(Int_t i)=0
virtual void WriteFastArrayDouble32(const Double_t *d, Long64_t n, TStreamerElement *ele=nullptr)=0
virtual void ReadFastArrayFloat16(Float_t *f, Int_t n, TStreamerElement *ele=nullptr)=0
virtual Int_t WriteClassBuffer(const TClass *cl, void *pointer)=0
virtual void StreamObject(void *obj, const std::type_info &typeinfo, const TClass *onFileClass=nullptr)=0
TClassRef is used to implement a permanent reference to a TClass object.
TClass instances represent classes, structs and namespaces in the ROOT type system.
void Streamer(void *obj, TBuffer &b, const TClass *onfile_class=nullptr) const
Bool_t CanSplit() const
Return true if the data member of this TClass can be saved separately.
void * NewArray(Long_t nElements, ENewType defConstructor=kClassNew) const
Return a pointer to a newly allocated array of objects of this class.
void * New(ENewType defConstructor=kClassNew, Bool_t quiet=kFALSE) const
Return a pointer to a newly allocated object of this class.
Bool_t HasCustomStreamerMember() const
The class has a Streamer method and it is implemented by the user or an older (not StreamerInfo based...
Int_t Size() const
Return size of object of this class.
Bool_t HasDirectStreamerInfoUse() const
static void StreamerStreamerInfo(const TClass *pThis, void *object, TBuffer &b, const TClass *onfile_class)
Case of where we should directly use the StreamerInfo.
void DeleteArray(void *ary, Bool_t dtorOnly=kFALSE)
Explicitly call operator delete[] for an array.
TVirtualStreamerInfo * GetStreamerInfo(Int_t version=0, Bool_t isTransient=kFALSE) const
returns a pointer to the TVirtualStreamerInfo object for version If the object does not exist,...
TVirtualCollectionProxy * GetCollectionProxy() const
Return the proxy describing the collection (if any).
std::atomic< StreamerImpl_t > fStreamerImpl
! Pointer to the function implementing streaming for this class
virtual Int_t GetSize() const
Return the capacity of the collection, i.e.
A file, usually with extension .root, that stores data and code in the form of serialized objects in ...
const char * GetName() const override
Returns name of object.
const char * GetTitle() const override
Returns title of object.
Int_t GetEntriesFast() const
void AddAt(TObject *obj, Int_t idx) override
Add object at position ids.
virtual void AddAtAndExpand(TObject *obj, Int_t idx)
Add object at position idx.
TObject * At(Int_t idx) const override
Mother of all ROOT objects.
@ kIsOnHeap
object is on heap
@ kNotDeleted
object has not been deleted
virtual const char * GetName() const
Returns name of object.
R__ALWAYS_INLINE Bool_t TestBit(UInt_t f) const
virtual UInt_t GetUniqueID() const
Return the unique object id.
virtual const char * ClassName() const
Returns name of class to which the object belongs.
virtual void Warning(const char *method, const char *msgfmt,...) const
Issue warning message.
void SetBit(UInt_t f, Bool_t set)
Set or unset the user status bits as specified in f.
virtual void SetUniqueID(UInt_t uid)
Set the unique object id.
A TProcessID identifies a ROOT job in a unique way in time and space.
void PutObjectWithID(TObject *obj, UInt_t uid=0)
stores the object at the uid th slot in the table of objects The object uniqued is set as well as its...
TVirtualStreamerInfo * GetBaseStreamerInfo() const
TClass * GetClassPointer() const override
Returns a pointer to the TClass of this element.
const char * GetErrorMessage() const
Describe one element (data member) to be Streamed.
virtual Int_t GetSize() const
Returns size of this element in bytes.
virtual const char * GetFullName() const
Return element name including dimensions, if any Note that this function stores the name into a stati...
virtual TClass * GetClassPointer() const
Returns a pointer to the TClass of this element and updates fClassObject.
virtual ULongptr_t GetMethod() const
Int_t GetArrayDim() const
TMemberStreamer * GetStreamer() const
Return the local streamer object.
TClass * GetNewClass() const
Int_t GetArrayLength() const
Double_t GetFactor() const
const char * GetTypeName() const
TClass * IsA() const override
virtual Bool_t IsBase() const
Return kTRUE if the element represent a base class.
virtual Bool_t HasCounter() const
void GetSequenceType(TString &type) const
Fill type with the string representation of sequence information including 'cached',...
Bool_t IsForVectorPtrLooper() const
static TActionSequence * CreateReadMemberWiseActions(TVirtualStreamerInfo *info, TVirtualCollectionProxy &proxy)
Create the bundle of the actions necessary for the streaming memberwise of the content described by '...
std::unique_ptr< TLoopConfiguration > fLoopConfig
If this is a bundle of memberwise streaming action, this configures the looping.
void Print(Option_t *="") const override
This method must be overridden when a class wants to print itself.
static TActionSequence * CreateWriteMemberWiseActions(TVirtualStreamerInfo *info, TVirtualCollectionProxy &proxy)
Create the bundle of the actions necessary for the streaming memberwise of the content described by '...
SequencePtr(*)(TStreamerInfo *info, TVirtualCollectionProxy *collectionProxy, TClass *originalClass) SequenceGetter_t
ActionContainer_t fActions
void AddToSubSequence(TActionSequence *sequence, const TIDs &element_ids, Int_t offset, SequenceGetter_t create)
TActionSequence * CreateSubSequence(const std::vector< Int_t > &element_ids, size_t offset)
TActionSequence * CreateCopy()
void AddAction(action_t action, TConfiguration *conf)
void AddToOffset(Int_t delta)
TLoopConfiguration * Copy() const override
void Print() const override
TAssocLoopConfig(TVirtualCollectionProxy *proxy, Bool_t)
void * GetFirstAddress(void *start, const void *) const override
~TAssocLoopConfig() override
TConfiguration * Copy() override
TConfNoFactor(TVirtualStreamerInfo *info, UInt_t id, TCompInfo_t *compinfo, Int_t offset, Int_t nbits)
TConfiguration * Copy() override
TConfSTLNoFactor(TConfigSTL *orig, Int_t nbits)
TConfSTLWithFactor(TConfigSTL *orig, Double_t factor, Double_t xmin)
TConfiguration * Copy() override
TConfWithFactor(TVirtualStreamerInfo *info, UInt_t id, TCompInfo_t *compinfo, Int_t offset, Double_t factor, Double_t xmin)
TConfiguration * Copy() override
TConfigSTL(Bool_t read, TVirtualStreamerInfo *info, UInt_t id, TCompInfo_t *compinfo, Int_t offset, UInt_t length, TClass *oldClass, const char *type_name, Bool_t isbase)
TConfigSTL(Bool_t read, TVirtualStreamerInfo *info, UInt_t id, TCompInfo_t *compinfo, Int_t offset, UInt_t length, TClass *oldClass, TClass *newClass, const char *type_name, Bool_t isbase)
TConfigSTL(Bool_t read, TVirtualStreamerInfo *info, UInt_t id, TCompInfo_t *compinfo, Int_t offset, UInt_t length, TClass *oldClass, TMemberStreamer *streamer, const char *type_name, Bool_t isbase)
TVirtualCollectionProxy::CreateIterators_t fCreateIterators
TVirtualCollectionProxy::DeleteIterator_t fDeleteIterator
TVirtualCollectionProxy::DeleteTwoIterators_t fDeleteTwoIterators
TVirtualCollectionProxy::Next_t fNext
TMemberStreamer * fStreamer
TConfigSTL(Bool_t read, TVirtualStreamerInfo *info, UInt_t id, TCompInfo_t *compinfo, Int_t offset, UInt_t length, TClass *oldClass, TClass *newClass, TMemberStreamer *streamer, const char *type_name, Bool_t isbase)
TConfiguration * Copy() override
TVirtualCollectionProxy::CopyIterator_t fCopyIterator
TVirtualArray * fOnfileObject
void Print() const override
TConfigurationPushDataCache(TVirtualStreamerInfo *info, TVirtualArray *onfileObject, Int_t offset)
void PrintDebug(TBuffer &buffer, void *object) const override
TConfiguration * Copy() override
void PrintDebug(TBuffer &b, void *addr) const override
TConfigurationUseCache(TVirtualStreamerInfo *info, TConfiguredAction &action, Bool_t repeat)
~TConfigurationUseCache() override
TConfiguredAction fAction
Base class of the Configurations.
virtual void SetMissing()
virtual void PrintDebug(TBuffer &buffer, void *object) const
virtual TConfiguration * Copy()
TVirtualStreamerInfo * fInfo
TStreamerInfo form which the action is derived.
Int_t fOffset
Offset within the object.
TCompInfo_t * fCompInfo
Access to compiled information (for legacy code)
UInt_t fLength
Number of element in a fixed length array.
UInt_t fElemId
Identifier of the TStreamerElement.
virtual void Print() const
virtual void AddToOffset(Int_t delta)
TLoopConfiguration * Copy() const override
void * GetFirstAddress(void *start_collection, const void *end_collection) const override
TVirtualCollectionProxy::CopyIterator_t fCopyIterator
void Print() const override
TVirtualCollectionProxy::Next_t fNext
TVirtualCollectionProxy::DeleteIterator_t fDeleteIterator
~TGenericLoopConfig() override
TGenericLoopConfig(TVirtualCollectionProxy *proxy, Bool_t read)
Base class of the Configurations for the member wise looping routines.
TVirtualCollectionProxy * fProxy
virtual void Print() const
virtual TLoopConfiguration * Copy() const =0
TLoopConfiguration * Copy() const override
void Print() const override
~TVectorLoopConfig() override
void * GetFirstAddress(void *start, const void *) const override
TVectorLoopConfig(TVirtualCollectionProxy *proxy, Long_t increment, Bool_t)
TClass * fClass
Not Owned.
TMemberStreamer * fStreamer
Not Owned.
TStreamerElement * fElem
Not Owned.
TClass * fNewClass
Not Owned.
Describes a persistent version of a class.
Int_t fNVirtualInfoLoc
! Number of virtual info location to update.
Int_t ReadBufferSTL(TBuffer &b, TVirtualCollectionProxy *cont, Int_t nc, Int_t eoffset, Bool_t v7=kTRUE)
The STL vector/list is deserialized from the buffer b.
void AddWriteAction(TStreamerInfoActions::TActionSequence *writeSequence, Int_t index, TCompInfo *compinfo)
Int_t fNfulldata
!number of elements
TCompInfo * fComp
![fNslots with less than fElements->GetEntries()*1.5 used] Compiled info
TStreamerInfoActions::TActionSequence * GetWriteMemberWiseActions(Bool_t forCollection)
TStreamerInfoActions::TActionSequence * fWriteMemberWiseVecPtr
! List of write action resulting from the compilation for use in member wise streaming.
TStreamerInfoActions::TActionSequence * fReadText
! List of text read action resulting from the compilation, used for JSON.
void ls(Option_t *option="") const override
List the TStreamerElement list and also the precomputed tables if option contains the string "incOrig...
void AddReadTextAction(TStreamerInfoActions::TActionSequence *readSequence, Int_t index, TCompInfo *compinfo)
Add a read text action for the given element.
TCompInfo ** fCompFull
![fElements->GetEntries()]
TObjArray * fElements
Array of TStreamerElements.
void AddReadMemberWiseVecPtrAction(TStreamerInfoActions::TActionSequence *readSequence, Int_t index, TCompInfo *compinfo)
Add a read action for the given element.
TStreamerInfoActions::TActionSequence * fReadMemberWise
! List of read action resulting from the compilation for use in member wise streaming.
Int_t fNdata
!number of optimized elements
TStreamerInfoActions::TActionSequence * fReadMemberWiseVecPtr
! List of read action resulting from the compilation for use in member wise streaming.
TStreamerInfoActions::TActionSequence * fReadObjectWise
! List of read action resulting from the compilation.
TClass * fClass
!pointer to class
TCompInfo ** fCompOpt
![fNdata]
TClass * GetClass() const override
static std::atomic< Int_t > fgCount
Number of TStreamerInfo instances.
void AddWriteTextAction(TStreamerInfoActions::TActionSequence *writeSequence, Int_t index, TCompInfo *compinfo)
void ComputeSize()
Compute total size of all persistent elements of the class.
void AddReadAction(TStreamerInfoActions::TActionSequence *readSequence, Int_t index, TCompInfo *compinfo)
Add a read action for the given element.
void AddWriteMemberWiseVecPtrAction(TStreamerInfoActions::TActionSequence *writeSequence, Int_t index, TCompInfo *compinfo)
This is for streaming via a TClonesArray (or a vector of pointers of this type).
Int_t fNumber
!Unique identifier
TStreamerInfoActions::TActionSequence * fWriteObjectWise
! List of write action resulting from the compilation.
Int_t fSize
!size of the persistent class
void Compile() override
loop on the TStreamerElement list regroup members with same type Store predigested information into l...
Int_t ReadBufferSkip(TBuffer &b, const T &arrptr, const TCompInfo *compinfo, Int_t kase, TStreamerElement *aElement, Int_t narr, Int_t eoffset)
Skip an element.
TStreamerInfoActions::TActionSequence * fWriteMemberWise
! List of write action resulting from the compilation for use in member wise streaming.
Int_t fNslots
!total number of slots in fComp.
Version_t fOldVersion
! Version of the TStreamerInfo object read from the file
TStreamerInfoActions::TActionSequence * fWriteText
! List of text write action resulting for the compilation, used for JSON.
size_t fAlignment
!alignment of the memory representation of the class
TStreamerInfoActions::TActionSequence * GetReadMemberWiseActions(Bool_t forCollection)
TSubString Strip(EStripType s=kTrailing, char c=' ') const
Return a substring of self stripped at beginning and/or end.
const char * Data() const
Wrapper around an object and giving indirect access to its content even if the object is not of a cla...
RAII helper class that ensures that PushProxy() / PopProxy() are called when entering / leaving a C++...
Defines a common interface to inspect/change the contents of an object that represents a collection.
virtual Int_t GetProperties() const
Return miscallenous properties of the proxy (see TVirtualCollectionProxy::EProperty)
virtual ULong_t GetIncrement() const =0
Return the offset between two consecutive in-memory values (which depends on the sizeof() and alignme...
virtual TStreamerInfoActions::TActionSequence * GetReadMemberWiseActions(Int_t version)=0
void(* CreateIterators_t)(void *collection, void **begin_arena, void **end_arena, TVirtualCollectionProxy *proxy)
*begin_arena and *end_arena should contain the location of a memory arena of size fgIteratorArenaSize...
virtual EDataType GetType() const =0
If the value type is a fundamental data type, return its type (see enumeration EDataType).
@ kCustomAlloc
The collection has a custom allocator.
void *(* CopyIterator_t)(void *dest, const void *source)
Copy the iterator source into dest.
virtual TStreamerInfoActions::TActionSequence * GetWriteMemberWiseActions()=0
void *(* Next_t)(void *iter, const void *end)
iter and end should be pointers to an iterator to be incremented and an iterator that points to the e...
virtual TClass * GetValueClass() const =0
If the value type is a user-defined class, return a pointer to the TClass representing the value type...
virtual void Commit(void *)=0
Commits pending elements in a staging area (see Allocate() for more information).
virtual Int_t GetCollectionType() const =0
Return the type of the proxied collection (see enumeration TClassEdit::ESTLType)
virtual Next_t GetFunctionNext(Bool_t read=kTRUE)=0
Return a pointer to a function that can advance an iterator (see Next_t).
virtual DeleteTwoIterators_t GetFunctionDeleteTwoIterators(Bool_t read=kTRUE)=0
virtual UInt_t Size() const =0
Return the current number of elements in the container.
void(* DeleteTwoIterators_t)(void *begin, void *end)
void(* DeleteIterator_t)(void *iter)
If the size of the iterator is greater than fgIteratorArenaSize, call delete on the addresses; otherw...
static const Int_t fgIteratorArenaSize
The size of a small buffer that can be allocated on the stack to store iterator-specific information.
virtual CreateIterators_t GetFunctionCreateIterators(Bool_t read=kTRUE)=0
Return a pointer to a function that can create an iterator pair, where each iterator points to the be...
virtual void * Allocate(UInt_t n, Bool_t forceDelete)=0
Allocates space for storing at least n elements.
virtual TStreamerInfoActions::TActionSequence * GetConversionReadMemberWiseActions(TClass *oldClass, Int_t version)=0
virtual DeleteIterator_t GetFunctionDeleteIterator(Bool_t read=kTRUE)=0
Return a pointer to a function that can delete an iterator (pair) (see DeleteIterator_t).
virtual CopyIterator_t GetFunctionCopyIterator(Bool_t read=kTRUE)=0
Return a pointer to a function that can copy an iterator (see CopyIterator_t).
virtual Bool_t HasPointers() const =0
Return true if the content is of type 'pointer to'.
virtual TClass * GetCollectionClass() const
Return a pointer to the TClass representing the proxied container class.
static void DeleteIterator(void *iter)
static void * Next(void *iter, const void *end)
static void * CopyIterator(void *dest, const void *source)
Abstract Interface class describing Streamer information for one class.
static Bool_t GetStreamMemberWise()
Return whether the TStreamerInfos will save the collections in "member-wise" order whenever possible.
Bool_t IsCompiled() const
@ kUChar
Equal to TDataType's kchar.
TClass * IsA() const override
static Bool_t CanOptimize()
static function returning true if optimization can be on
virtual TObjArray * GetElements() const =0
virtual Version_t GetOldVersion() const =0
virtual Int_t GetClassVersion() const =0
Bool_t fOptimized
! true if the StreamerInfo has been optimized
void ReadSTLObjectWiseStreamer(TBuffer &buf, void *addr, const TConfiguration *conf, Version_t, UInt_t)
Int_t WriteTString(TBuffer &buf, void *addr, const TConfiguration *config)
Int_t PushDataCacheVectorPtr(TBuffer &b, void *, const void *, const TConfiguration *conf)
Int_t PopDataCache(TBuffer &b, void *, const TConfiguration *)
void ReadSTLMemberWiseChangedClass(TBuffer &buf, void *addr, const TConfiguration *conf, Version_t vers)
Int_t TextReadSTLp(TBuffer &buf, void *addr, const TConfiguration *config)
void ReadSTLObjectWiseFastArrayV2(TBuffer &buf, void *addr, const TConfiguration *conf, Version_t vers, UInt_t start)
Int_t ReadBasicType< BitsMarker >(TBuffer &buf, void *addr, const TConfiguration *config)
static void WriteCompressed(TBuffer &buf, float *addr, const TStreamerElement *elem)
Int_t WriteTextBaseClass(TBuffer &buf, void *addr, const TConfiguration *config)
Int_t GenericWriteAction(TBuffer &buf, void *addr, const TConfiguration *config)
Int_t WriteTObject(TBuffer &buf, void *addr, const TConfiguration *config)
void ReadArraySTLMemberWiseChangedClass(TBuffer &buf, void *addr, const TConfiguration *conf, Version_t vers)
std::vector< TIDNode > TIDs
Int_t PopDataCacheVectorPtr(TBuffer &b, void *, const void *, const TConfiguration *)
Int_t GenericReadAction(TBuffer &buf, void *addr, const TConfiguration *config)
Int_t WriteTextTObject(TBuffer &buf, void *addr, const TConfiguration *config)
Int_t WriteTNamed(TBuffer &buf, void *addr, const TConfiguration *config)
Int_t ReadBasicType_WithFactor(TBuffer &buf, void *addr, const TConfiguration *config)
void WriteSTLObjectWiseFastArray(TBuffer &buf, void *addr, const TConfiguration *conf)
Int_t ReadTextBaseClass(TBuffer &buf, void *addr, const TConfiguration *config)
Int_t UseCacheVectorPtrLoop(TBuffer &b, void *start, const void *end, const TConfiguration *conf)
void WriteSTLObjectWiseStreamer(TBuffer &buf, void *addr, const TConfiguration *conf)
Int_t WriteSTL(TBuffer &buf, void *addr, const TConfiguration *conf)
Int_t ReadSTL(TBuffer &buf, void *addr, const TConfiguration *conf)
Int_t ReadTextTObject(TBuffer &buf, void *addr, const TConfiguration *config)
Int_t PushDataCache(TBuffer &b, void *, const TConfiguration *conf)
Int_t UseCache(TBuffer &b, void *addr, const TConfiguration *conf)
Int_t WriteViaClassBuffer(TBuffer &buf, void *addr, const TConfiguration *config)
Int_t WriteLoopInvalid(TBuffer &, void *, const void *, const TConfiguration *config)
void ReadSTLMemberWiseSameClass(TBuffer &buf, void *addr, const TConfiguration *conf, Version_t vers)
Int_t WriteTextTNamed(TBuffer &buf, void *addr, const TConfiguration *config)
Int_t ReadTextObject(TBuffer &buf, void *addr, const TConfiguration *config)
Int_t TextWriteSTLp(TBuffer &buf, void *addr, const TConfiguration *config)
Int_t UseCacheVectorLoop(TBuffer &b, void *start, const void *end, const TLoopConfiguration *loopconf, const TConfiguration *conf)
Int_t ReadViaExtStreamer(TBuffer &buf, void *addr, const TConfiguration *config)
Int_t ReadTextTNamed(TBuffer &buf, void *addr, const TConfiguration *config)
void WriteArraySTLMemberWise(TBuffer &buf, void *addr, const TConfiguration *conf)
Int_t WriteStreamerCase(TBuffer &buf, void *addr, const TConfiguration *config)
void ReadSTLObjectWiseFastArray(TBuffer &buf, void *addr, const TConfiguration *conf, Version_t, UInt_t)
Int_t ReadTNamed(TBuffer &buf, void *addr, const TConfiguration *config)
Int_t ReadBasicType_NoFactor(TBuffer &buf, void *addr, const TConfiguration *config)
bool IsDefaultVector(TVirtualCollectionProxy &proxy)
Int_t ReadLoopInvalid(TBuffer &, void *, const void *, const TConfiguration *config)
Int_t ReadTObject(TBuffer &buf, void *addr, const TConfiguration *config)
Int_t WriteViaExtStreamer(TBuffer &buf, void *addr, const TConfiguration *config)
void ReadSTLObjectWiseStreamerV2(TBuffer &buf, void *addr, const TConfiguration *conf, Version_t vers, UInt_t start)
void ReadArraySTLMemberWiseSameClass(TBuffer &buf, void *addr, const TConfiguration *conf, Version_t vers)
void HandleReferencedTObject(TBuffer &buf, void *addr, const TConfiguration *config)
Int_t PopDataCacheGenericCollection(TBuffer &b, void *, const void *, const TLoopConfiguration *, const TConfiguration *)
Int_t ReadStreamerCase(TBuffer &buf, void *addr, const TConfiguration *config)
Int_t PushDataCacheGenericCollection(TBuffer &b, void *, const void *, const TLoopConfiguration *loopconfig, const TConfiguration *conf)
Int_t ReadTextTObjectBase(TBuffer &buf, void *addr, const TConfiguration *config)
ESelectLooper SelectLooper(TVirtualCollectionProxy &proxy)
Int_t ReadTString(TBuffer &buf, void *addr, const TConfiguration *config)
Int_t UseCacheGenericCollection(TBuffer &b, void *, const void *, const TLoopConfiguration *loopconfig, const TConfiguration *conf)
void WriteSTLMemberWise(TBuffer &buf, void *addr, const TConfiguration *conf)
static Int_t WriteBasicZero(TBuffer &buf, void *, const TConfiguration *)
Int_t ReadViaClassBuffer(TBuffer &buf, void *addr, const TConfiguration *config)
TVirtualCollectionProxy::Next_t Next_t
static Int_t Action(TBuffer &buf, void *addr, const TConfiguration *conf)
static void Action(TBuffer &buf, void *addr, Int_t nvalues)
static void Action(TBuffer &buf, void *addr, Int_t nvalues)
static void Action(TBuffer &buf, void *addr, Int_t nvalues)
static Int_t Action(TBuffer &buf, void *addr, const TConfiguration *conf)
static Int_t Action(TBuffer &buf, void *addr, const TConfiguration *conf)
static Int_t Action(TBuffer &buf, void *addr, const TConfiguration *conf)
static void LoopOverCollection(TBuffer &buf, void *iter, const void *end, Next_t next, Int_t, const TStreamerElement *elem)
static void SimpleWriteFloat16(TBuffer &buf, void *addr, const TStreamerElement *elem)
static Int_t WriteCollectionDouble32(TBuffer &buf, void *addr, const TConfiguration *conf)
static void SimpleRead(TBuffer &buf, void *addr, Int_t nvalues)
static void ArrayWrite(TBuffer &buf, void *addr, Int_t nvalues, const TStreamerElement *)
static Int_t WriteCollectionBasicType(TBuffer &buf, void *addr, const TConfiguration *conf)
static Int_t ReadCollectionDouble32(TBuffer &buf, void *addr, const TConfiguration *conf)
static void SimpleReadDouble32(TBuffer &buf, void *addr, Int_t nvalues)
static void SimpleWrite(TBuffer &buf, void *addr, const TStreamerElement *)
static void ConvertLoopOverCollection(TBuffer &buf, void *iter, const void *end, Next_t next, Int_t nvalues, const TStreamerElement *elem)
static void ArrayWriteCompressed(TBuffer &buf, double *addr, Int_t nvalues, const TStreamerElement *elem)
static void SimpleWriteDouble32(TBuffer &buf, void *addr, const TStreamerElement *elem)
static Int_t ReadCollectionBasicType(TBuffer &buf, void *addr, const TConfiguration *conf)
void(*)(TBuffer &, void *, const void *, Next_t, Int_t, const TStreamerElement *elem) LoopAction_t
static Int_t ReadCollectionFloat16(TBuffer &buf, void *addr, const TConfiguration *conf)
static void ArrayWriteCompressed(TBuffer &buf, float *addr, Int_t nvalues, const TStreamerElement *elem)
static void SimpleReadFloat16(TBuffer &buf, void *addr, Int_t nvalues)
static Int_t WriteNumericalCollection(TBuffer &buf, void *addr, const TConfiguration *conf)
static Int_t WriteCollectionFloat16(TBuffer &buf, void *addr, const TConfiguration *conf)
static Int_t ReadNumericalCollection(TBuffer &buf, void *addr, const TConfiguration *conf)
static Int_t Action(TBuffer &buf, void *start, Ts... args, const TConfiguration *config)
static Int_t Action(TBuffer &buf, void *start, Ts... args, const TConfiguration *config)
static Int_t ReadStreamerLoopStatic(TBuffer &buf, void *addr, const TConfiguration *config)
static Int_t SubSequenceAction(TBuffer &buf, void *start, const void *end, const TLoopConfiguration *, const TConfiguration *config)
static std::unique_ptr< TStreamerInfoActions::TActionSequence > CreateWriteActionSequence(TStreamerInfo &info, TLoopConfiguration *loopConfig)
static Int_t WriteStreamerLoopStatic(TBuffer &buf, void *addr, const TConfiguration *config)
static Int_t WriteStreamerLoopPoly(TBuffer &buf, void *addr, const TConfiguration *config)
static Int_t ReadStreamerLoopPoly(TBuffer &buf, void *addr, const TConfiguration *config)
static Int_t WriteStreamerCase(TBuffer &buf, void *start, const void *end, const TLoopConfiguration *loopconfig, const TConfiguration *config)
static std::unique_ptr< TStreamerInfoActions::TActionSequence > CreateReadActionSequence(TStreamerInfo &info, TLoopConfiguration *loopConfig)
static Int_t StreamerLoopExternal(TBuffer &buf, void *addr, const TConfiguration *actionConfig)
static Int_t ReadStreamerCase(TBuffer &buf, void *start, const void *end, const TLoopConfiguration *loopconfig, const TConfiguration *config)
static Int_t Action(TBuffer &buf, void *addr, const TConfiguration *config)
static Int_t Action(TBuffer &buf, void *addr, const TConfiguration *config)
static Int_t Action(TBuffer &buf, void *addr, const TConfiguration *config)
static Int_t Action(TBuffer &buf, void *addr, const TConfiguration *config)
static Int_t Action(TBuffer &buf, void *start, const void *end, const TLoopConfiguration *loopconf, const TConfiguration *config)
static Int_t Action(TBuffer &buf, void *start, const void *end, const TLoopConfiguration *loopconf, const TConfiguration *config)
static Int_t Action(TBuffer &buf, void *start, const void *end, const TLoopConfiguration *loopconf, const TConfiguration *config)
static Int_t Action(TBuffer &buf, void *start, const void *end, const TLoopConfiguration *loopconf, const TConfiguration *config)
static Int_t Action(TBuffer &buf, void *addr, const TConfiguration *conf)
static void WriteConvertAction(void *start, const void *end, const TLoopConfiguration *loopconf, const TConfiguration *config, To *items)
static void ConvertAction(From *items, void *start, const void *end, const TLoopConfiguration *loopconf, const TConfiguration *config)
static void WriteConvertAction(void *start, const void *end, const TLoopConfiguration *loopconf, const TConfiguration *, To *items)
static void ConvertAction(From *items, void *start, const void *end, const TLoopConfiguration *loopconf, const TConfiguration *)
static Int_t Action(TBuffer &, void *start, const void *end, const TLoopConfiguration *loopconf, const TConfiguration *config)
static Int_t Action(TBuffer &, void *start, const void *end, const TLoopConfiguration *loopconf, const TConfiguration *config)
static Int_t Action(TBuffer &buf, void *start, const void *end, const TLoopConfiguration *loopconf, const TConfiguration *config)
static Int_t Action(TBuffer &buf, void *addr, const TConfiguration *conf)
static Int_t Action(TBuffer &buf, void *start, const void *end, const TLoopConfiguration *loopconf, const TConfiguration *config)
static Int_t ReadBasicType(TBuffer &buf, void *start, const void *end, const TLoopConfiguration *loopconf, const TConfiguration *config)
CollectionLooper< GenericLooper >::ReadStreamerLoop< kIsText, const void *, const TLoopConfiguration * > ReadStreamerLoop
static Int_t ReadCollectionFloat16(TBuffer &buf, void *addr, const TConfiguration *conf)
static Int_t WriteBase(TBuffer &buf, void *start, const void *end, const TLoopConfiguration *loopconfig, const TConfiguration *config)
static Int_t WriteNumericalCollection(TBuffer &buf, void *addr, const TConfiguration *conf)
static Int_t ReadBase(TBuffer &buf, void *start, const void *end, const TLoopConfiguration *loopconfig, const TConfiguration *config)
static Int_t WriteBasicType(TBuffer &buf, void *start, const void *end, const TLoopConfiguration *loopconf, const TConfiguration *config)
static Int_t GenericRead(TBuffer &buf, void *, const void *, const TLoopConfiguration *loopconf, const TConfiguration *config)
static Int_t WriteCollectionBasicType(TBuffer &buf, void *addr, const TConfiguration *conf)
static Int_t WriteCollectionDouble32(TBuffer &buf, void *addr, const TConfiguration *conf)
static Int_t WriteCollectionFloat16(TBuffer &buf, void *addr, const TConfiguration *conf)
static void SimpleWriteFloat16(TBuffer &buf, void *addr)
static void SimpleReadFloat16(TBuffer &buf, void *addr)
Int_t(*)(TBuffer &, void *, const void *end, const TLoopConfiguration *loopconfig, const TConfiguration *) LoopAction_t
static Int_t LoopOverCollection(TBuffer &buf, void *start, const void *end, const TLoopConfiguration *loopconf, const TConfiguration *config)
static Int_t ReadNumericalCollection(TBuffer &buf, void *addr, const TConfiguration *conf)
static Int_t GenericWrite(TBuffer &buf, void *, const void *, const TLoopConfiguration *loopconf, const TConfiguration *config)
static Int_t ReadCollectionBasicType(TBuffer &buf, void *addr, const TConfiguration *conf)
static void SimpleRead(TBuffer &buf, void *addr)
static void SimpleReadDouble32(TBuffer &buf, void *addr)
static void SimpleWriteDouble32(TBuffer &buf, void *addr)
static Int_t ReadCollectionDouble32(TBuffer &buf, void *addr, const TConfiguration *conf)
CollectionLooper< GenericLooper >::WriteStreamerLoop< kIsText, const void *, const TLoopConfiguration * > WriteStreamerLoop
Int_t(*)(TBuffer &, void *, const TConfiguration *) LoopAction_t
static Int_t LoopOverCollection(TBuffer &buf, void *start, const TConfiguration *config)
void AddToOffset(Int_t delta) override
TBitsConfiguration(TVirtualStreamerInfo *info, UInt_t id, TCompInfo_t *compinfo, Int_t offset=0)
void PrintDebug(TBuffer &, void *) const override
TConfiguration * Copy() override
void SetMissing() override
TConfObject(TVirtualStreamerInfo *info, UInt_t id, TCompInfo_t *compinfo, Int_t offset, TClass *onfileClass, TClass *inMemoryClass)
TConfiguration * Copy() override
TConfStreamerLoop(TVirtualStreamerInfo *info, UInt_t id, TCompInfo_t *compinfo, Int_t offset, bool isPtrPtr)
TConfiguration * Copy() override
void AddToOffset(Int_t delta) override
TConfSubSequence(const TConfSubSequence &input)
void AddToOffset(Int_t delta) override
TConfiguration * Copy() override
TConfSubSequence(TVirtualStreamerInfo *info, UInt_t id, TCompInfo_t *compinfo, Int_t offset, std::unique_ptr< TStreamerInfoActions::TActionSequence > actions)
std::unique_ptr< TStreamerInfoActions::TActionSequence > fActions
TConfiguration * Copy() override
TGenericConfiguration(TVirtualStreamerInfo *info, UInt_t id, TCompInfo_t *compinfo, Int_t offset=0)
void PrintDebug(TBuffer &, void *) const override
static Int_t Action(TBuffer &buf, void *iter, const void *end, const TLoopConfiguration *loopconfig, const TConfiguration *config)
static Int_t Action(TBuffer &buf, void *iter, const void *end, const TLoopConfiguration *loopconfig, const TConfiguration *config)
static Int_t Action(TBuffer &buf, void *iter, const void *end, const TLoopConfiguration *loopconfig, const TConfiguration *config)
static Int_t Action(TBuffer &buf, void *iter, const void *end, const TLoopConfiguration *loopconfig, const TConfiguration *config)
static Int_t Action(TBuffer &buf, void *addr, const TConfiguration *conf)
static Int_t Action(TBuffer &buf, void *addr, const TConfiguration *conf)
static Int_t Action(TBuffer &buf, void *iter, const void *end, const TLoopConfiguration *loopconfig, const TConfiguration *config)
static Int_t Action(TBuffer &buf, void *iter, const void *end, const TLoopConfiguration *loopconfig, const TConfiguration *config)
static Int_t Action(TBuffer &buf, void *iter, const void *end, const TLoopConfiguration *loopconfig, const TConfiguration *config)
static Int_t Action(TBuffer &buf, void *addr, const TConfiguration *conf)
CollectionLooper< VectorLooper >::ReadStreamerLoop< kIsText, const void *, const TLoopConfiguration * > ReadStreamerLoop
static Int_t WriteCollectionFloat16(TBuffer &buf, void *addr, const TConfiguration *conf)
static Int_t WriteCollectionBasicType(TBuffer &buf, void *addr, const TConfiguration *conf)
Int_t(*)(TBuffer &, void *, const void *end, const TLoopConfiguration *loopconfig, const TConfiguration *) LoopAction_t
static Int_t WriteBasicType(TBuffer &buf, void *iter, const void *end, const TLoopConfiguration *loopconfig, const TConfiguration *config)
static Int_t WriteCollectionDouble32(TBuffer &buf, void *addr, const TConfiguration *conf)
static Int_t GenericWrite(TBuffer &buf, void *start, const void *end, const TLoopConfiguration *loopconfig, const TConfiguration *config)
static Int_t ReadCollectionDouble32(TBuffer &buf, void *addr, const TConfiguration *conf)
CollectionLooper< VectorLooper >::WriteStreamerLoop< kIsText, const void *, const TLoopConfiguration * > WriteStreamerLoop
static Int_t ConvertCollectionDouble32(TBuffer &buf, void *addr, const TConfiguration *conf)
static Int_t ReadCollectionBasicType(TBuffer &buf, void *addr, const TConfiguration *conf)
static Int_t ReadBasicType(TBuffer &buf, void *iter, const void *end, const TLoopConfiguration *loopconfig, const TConfiguration *config)
static Int_t WriteBase(TBuffer &buf, void *start, const void *end, const TLoopConfiguration *loopconfig, const TConfiguration *config)
static Int_t ReadBase(TBuffer &buf, void *start, const void *end, const TLoopConfiguration *loopconfig, const TConfiguration *config)
static Int_t ReadCollectionFloat16(TBuffer &buf, void *addr, const TConfiguration *conf)
static Int_t GenericRead(TBuffer &buf, void *start, const void *end, const TLoopConfiguration *loopconfig, const TConfiguration *config)
static Int_t LoopOverCollection(TBuffer &buf, void *start, const void *end, const TLoopConfiguration *loopconfig, const TConfiguration *config)
static Int_t Action(TBuffer &buf, void *iter, const void *end, const TConfiguration *config)
static Int_t Action(TBuffer &buf, void *iter, const void *end, const TConfiguration *config)
static Int_t Action(TBuffer &buf, void *iter, const void *end, const TConfiguration *config)
static Int_t Action(TBuffer &buf, void *iter, const void *end, const TConfiguration *config)
static Int_t Action(TBuffer &buf, void *iter, const void *end, const TConfiguration *config)
static Int_t Action(TBuffer &buf, void *iter, const void *end, const TConfiguration *config)
static Int_t Action(TBuffer &buf, void *iter, const void *end, const TConfiguration *config)
Int_t(*)(TBuffer &, void *start, const void *end, const TConfiguration *) LoopAction_t
static Int_t ReadBase(TBuffer &buf, void *start, const void *end, const TConfiguration *config)
static Int_t ReadBasicType(TBuffer &buf, void *iter, const void *end, const TConfiguration *config)
static std::unique_ptr< TStreamerInfoActions::TActionSequence > CreateWriteActionSequence(TStreamerInfo &info, TLoopConfiguration *)
static Int_t LoopOverCollection(TBuffer &buf, void *start, const void *end, const TConfiguration *config)
static Int_t GenericRead(TBuffer &buf, void *iter, const void *end, const TConfiguration *config)
static Int_t WriteBasicType(TBuffer &buf, void *iter, const void *end, const TConfiguration *config)
static Int_t GenericWrite(TBuffer &buf, void *iter, const void *end, const TConfiguration *config)
static Int_t WriteBase(TBuffer &buf, void *start, const void *end, const TConfiguration *config)
CollectionLooper< VectorPtrLooper >::ReadStreamerLoop< kIsText, const void * > ReadStreamerLoop
static std::unique_ptr< TStreamerInfoActions::TActionSequence > CreateReadActionSequence(TStreamerInfo &info, TLoopConfiguration *)
CollectionLooper< VectorPtrLooper >::WriteStreamerLoop< kIsText, const void * > WriteStreamerLoop
static Int_t SubSequenceAction(TBuffer &buf, void *start, const void *end, const TConfiguration *config)
static Int_t WriteStreamerCase(TBuffer &buf, void *start, const void *end, const TConfiguration *config)
static Int_t ReadStreamerCase(TBuffer &buf, void *start, const void *end, const TConfiguration *config)
static Int_t Action(TBuffer &buf, void *addr, const TConfiguration *config)