You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: manual/io_custom_classes/index.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -217,6 +217,8 @@ The syntax is:
217
217
ClassDef(<ClassName>, <VersionNumber>)
218
218
{% endhighlight %}
219
219
220
+
(In the case of classes inheriting from `TObject`, it's better to use `ClassDefOverride` instead of `ClassDef`.)
221
+
220
222
The version number identifies this particular version of the class. A version number equal to 0 tells ROOT to not store the class in a root file, but only its base classes (if any).
221
223
222
224
`ClassDef` injects some methods in the class definition useful for runtime reflection.
0 commit comments