File tree Expand file tree Collapse file tree 7 files changed +8
-25
lines changed Expand file tree Collapse file tree 7 files changed +8
-25
lines changed Original file line number Diff line number Diff line change @@ -15,13 +15,9 @@ namespace A {
15
15
#ifdef WIN32
16
16
ClassDef (Class2,1 ) //
17
17
#else
18
- ClassDefT (A::Class2<T>,1 ) //
18
+ ClassDef (A::Class2<T>,1 ) //
19
19
#endif
20
20
};
21
-
22
- #ifndef __MAKECINT__
23
- ClassDefT2 (Class2,T)
24
- #endif
25
21
}
26
22
27
23
namespace B {
Original file line number Diff line number Diff line change 1
1
#include "template.h"
2
2
#include "TBufferFile.h"
3
3
4
- //ClassImpT(MyTemplate,const int)
5
-
6
4
#ifdef _ClassInit_
7
5
// Old Style
8
6
#define _ClassImpTS_ (name ,Tmpl ) \
27
25
28
26
ClassImpTS (MyTemplate ,const double * )
29
27
30
- ClassImpT (MyTemplate ,T )
31
- ClassImp2T (MyPairTemplate ,T ,T2 )
32
-
33
28
const double dvalue = 33.3 ;
34
29
35
30
static MyTemplate < int > dummy (1 );
Original file line number Diff line number Diff line change 11
11
12
12
13
13
ClassImp (TestClass)
14
- ClassImpT(TestClass::IE_t, T)
15
14
16
15
17
16
// ________________________________________________________________________
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ class TestClass : public TObject {
23
23
TIE_t () : fIndex (0 ), fVal (0 ) {}
24
24
TIE_t (UInt_t i, T v) : fIndex (i),fVal (v) {}
25
25
virtual ~TIE_t () {}
26
- ClassDefT (TIE_t,1 ) // Generic parameter given by an index (in common block)
26
+ ClassDef (TIE_t,1 ) // Generic parameter given by an index (in common block)
27
27
};
28
28
29
29
template <typename T = Int_t>
Original file line number Diff line number Diff line change @@ -6,9 +6,6 @@ class RtObj2 : public T
6
6
public:
7
7
RtObj2 () {}
8
8
RtObj2 ( const T & val ) : T(val) {}
9
- ClassDefT (RtObj2,1 )
9
+ ClassDef (RtObj2,1 )
10
10
} ;
11
11
12
- ClassDefT2 (RtObj2,T)
13
-
14
- ClassImpT(RtObj2,T)
Original file line number Diff line number Diff line change @@ -52,8 +52,7 @@ class TTreeReaderArrayBase : public TTreeReaderValueBase {
52
52
53
53
std::unique_ptr<TVirtualCollectionReader> fImpl ; // Common interface to collections
54
54
55
- // FIXME: re-introduce once we have ClassDefInline!
56
- // ClassDefOverride(TTreeReaderArrayBase, 0);//Accessor to member of an object stored in a collection
55
+ ClassDefInlineOverride (TTreeReaderArrayBase, 0 );// Accessor to member of an object stored in a collection
57
56
};
58
57
59
58
class R__CLING_PTRCHECK (off) TTreeReaderUntypedArray final : public TTreeReaderArrayBase {
@@ -241,8 +240,7 @@ class R__CLING_PTRCHECK(off) TTreeReaderArray final : public ROOT::Internal::TTr
241
240
#define R__TTreeReaderArray_TypeString (T ) #T
242
241
const char *GetDerivedTypeName () const override { return R__TTreeReaderArray_TypeString (T); }
243
242
#undef R__TTreeReaderArray_TypeString
244
- // FIXME: re-introduce once we have ClassDefTInline!
245
- // ClassDefT(TTreeReaderArray, 0);//Accessor to member of an object stored in a collection
243
+ ClassDefInline (TTreeReaderArray, 0 );// Accessor to member of an object stored in a collection
246
244
};
247
245
248
246
namespace cling {
Original file line number Diff line number Diff line change @@ -150,8 +150,7 @@ class TTreeReaderValueBase {
150
150
*/
151
151
bool fOpaqueRead {false };
152
152
153
- // FIXME: re-introduce once we have ClassDefInline!
154
- // ClassDefOverride(TTreeReaderValueBase, 0);//Base class for accessors to data via TTreeReader
153
+ ClassDefInlineOverride (TTreeReaderValueBase, 0 );// Base class for accessors to data via TTreeReader
155
154
156
155
friend class ::TTreeReader;
157
156
};
@@ -238,16 +237,15 @@ class R__CLING_PTRCHECK(off) TTreeReaderValue final : public ROOT::Internal::TTr
238
237
T &operator *() { return *Get (); }
239
238
240
239
protected:
241
- // FIXME: use IsA() instead once we have ClassDefTInline
240
+ // FIXME: use IsA() instead
242
241
// / Get the template argument as a string.
243
242
const char *GetDerivedTypeName () const override
244
243
{
245
244
static const std::string sElementTypeName = GetElementTypeName (typeid (T));
246
245
return sElementTypeName .data ();
247
246
}
248
247
249
- // FIXME: re-introduce once we have ClassDefTInline!
250
- // ClassDefT(TTreeReaderValue, 0);//Accessor to data via TTreeReader
248
+ ClassDefInlineOverride (TTreeReaderValue, 0 );// Accessor to data via TTreeReader
251
249
};
252
250
253
251
namespace cling {
You can’t perform that action at this time.
0 commit comments