Skip to content

Commit 7136ce3

Browse files
committed
Include ROOT/RNTupleTypes.hxx, if available
It replaces ROOT/RNTupleUtil.hxx, which is deprecated.
1 parent 6c656b2 commit 7136ce3

34 files changed

Lines changed: 132 additions & 1 deletion

File tree

compression/algorithms/write_algorithm.hxx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
#include <ROOT/RNTupleModel.hxx>
2+
#if __has_include(<ROOT/RNTupleTypes.hxx>)
3+
#include <ROOT/RNTupleTypes.hxx>
4+
#else
25
#include <ROOT/RNTupleUtil.hxx>
6+
#endif
37
#include <ROOT/RNTupleWriteOptions.hxx>
48
#include <ROOT/RNTupleWriter.hxx>
59

compression/block/big/write.C

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
#include <ROOT/RNTupleModel.hxx>
2+
#if __has_include(<ROOT/RNTupleTypes.hxx>)
3+
#include <ROOT/RNTupleTypes.hxx>
4+
#else
25
#include <ROOT/RNTupleUtil.hxx>
6+
#endif
37
#include <ROOT/RNTupleWriteOptions.hxx>
48
#include <ROOT/RNTupleWriter.hxx>
59

compression/block/short/write.C

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
#include <ROOT/RNTupleModel.hxx>
2+
#if __has_include(<ROOT/RNTupleTypes.hxx>)
3+
#include <ROOT/RNTupleTypes.hxx>
4+
#else
25
#include <ROOT/RNTupleUtil.hxx>
6+
#endif
37
#include <ROOT/RNTupleWriteOptions.hxx>
48
#include <ROOT/RNTupleWriter.hxx>
59

projections/cardinality/read.C

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
#include <ROOT/REntry.hxx>
22
#include <ROOT/RNTupleReader.hxx>
3+
#if __has_include(<ROOT/RNTupleTypes.hxx>)
4+
#include <ROOT/RNTupleTypes.hxx>
5+
#else
36
#include <ROOT/RNTupleUtil.hxx>
7+
#endif
48

59
#include <cstdint>
610
#include <fstream>

projections/cardinality/write.C

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
#include <ROOT/RField.hxx>
22
#include <ROOT/RNTupleModel.hxx>
3+
#if __has_include(<ROOT/RNTupleTypes.hxx>)
4+
#include <ROOT/RNTupleTypes.hxx>
5+
#else
36
#include <ROOT/RNTupleUtil.hxx>
7+
#endif
48
#include <ROOT/RNTupleWriteOptions.hxx>
59
#include <ROOT/RNTupleWriter.hxx>
610

projections/leaf/read.C

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
#include <ROOT/REntry.hxx>
22
#include <ROOT/RNTupleReader.hxx>
3-
#include <ROOT/RNTupleUtil.hxx>
43

54
#include <cstdint>
65
#include <fstream>

types/RVec/fundamental/write.C

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
#include <ROOT/RField.hxx>
22
#include <ROOT/RNTupleModel.hxx>
3+
#if __has_include(<ROOT/RNTupleTypes.hxx>)
4+
#include <ROOT/RNTupleTypes.hxx>
5+
#else
36
#include <ROOT/RNTupleUtil.hxx>
7+
#endif
48
#include <ROOT/RNTupleWriteOptions.hxx>
59
#include <ROOT/RNTupleWriter.hxx>
610
#include <ROOT/RVec.hxx>

types/RVec/nested/write.C

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
#include <ROOT/RField.hxx>
22
#include <ROOT/RNTupleModel.hxx>
3+
#if __has_include(<ROOT/RNTupleTypes.hxx>)
4+
#include <ROOT/RNTupleTypes.hxx>
5+
#else
36
#include <ROOT/RNTupleUtil.hxx>
7+
#endif
48
#include <ROOT/RNTupleWriteOptions.hxx>
59
#include <ROOT/RNTupleWriter.hxx>
610
#include <ROOT/RVec.hxx>

types/fundamental/integer/write.C

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
#include <ROOT/RField.hxx>
22
#include <ROOT/RNTupleModel.hxx>
3+
#if __has_include(<ROOT/RNTupleTypes.hxx>)
4+
#include <ROOT/RNTupleTypes.hxx>
5+
#else
36
#include <ROOT/RNTupleUtil.hxx>
7+
#endif
48
#include <ROOT/RNTupleWriteOptions.hxx>
59
#include <ROOT/RNTupleWriter.hxx>
610

types/fundamental/misc/write.C

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
#include <ROOT/RField.hxx>
22
#include <ROOT/RNTupleModel.hxx>
3+
#if __has_include(<ROOT/RNTupleTypes.hxx>)
4+
#include <ROOT/RNTupleTypes.hxx>
5+
#else
36
#include <ROOT/RNTupleUtil.hxx>
7+
#endif
48
#include <ROOT/RNTupleWriteOptions.hxx>
59
#include <ROOT/RNTupleWriter.hxx>
610

0 commit comments

Comments
 (0)