Skip to content

Commit e149c77

Browse files
committed
Add custom streamer for 'RooWorkspace::CodeRepo'
Just skip members
1 parent 0503552 commit e149c77

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

scripts/JSRootIOEvolution.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2643,6 +2643,14 @@
26432643
obj._sharedProp = (v===1) ? buf.ReadObjectAny() : buf.ClassStreamer({}, "RooCategorySharedProperties");
26442644
};
26452645

2646+
cs['RooWorkspace::CodeRepo'] = function(buf,obj) {
2647+
var sz = (buf.last_read_version == 2) ? 3 : 2;
2648+
for (var i=0;i<sz;++i) {
2649+
var cnt = buf.ntoi4() * ((i==0) ? 4 : 3);
2650+
while (cnt--) buf.ReadTString();
2651+
}
2652+
}
2653+
26462654
cs['RooLinkedList'] = function(buf,obj) {
26472655
var v = buf.last_read_version;
26482656
buf.ClassStreamer(obj, "TObject");

0 commit comments

Comments
 (0)