Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TObjectItem.hxx
Go to the documentation of this file.
1/*************************************************************************
2 * Copyright (C) 1995-2019, Rene Brun and Fons Rademakers. *
3 * All rights reserved. *
4 * *
5 * For the licensing terms see $ROOTSYS/LICENSE. *
6 * For the list of contributors see $ROOTSYS/README/CREDITS. *
7 *************************************************************************/
8
9#ifndef ROOT7_Browsable_TObjectItem
10#define ROOT7_Browsable_TObjectItem
11
13
14namespace ROOT {
15namespace Experimental {
16namespace Browsable {
17
18/** \class TObjectItem
19\ingroup rbrowser
20\brief Representation of single item in the file browser for generic TObject object
21\author Sergey Linev <S.Linev@gsi.de>
22\date 2019-10-19
23\warning This is part of the ROOT 7 prototype! It will change without notice. It might trigger earthquakes. Feedback is welcome!
24*/
25
26class TObjectItem : public RItem {
27 std::string className; ///< class name
28public:
29
30 TObjectItem() = default;
31
32 TObjectItem(const std::string &_name, int _nchilds) : RItem(_name, _nchilds) {}
33
34 // should be here, one needs virtual table for correct streaming of RRootBrowserReply
35 virtual ~TObjectItem() = default;
36
37 void SetClassName(const std::string &_className) { className = _className; }
38};
39
40} // namespace Browsable
41} // namespace Experimental
42} // namespace ROOT
43
44
45#endif
Representation of single item in the browser.
Definition RItem.hxx:24
Representation of single item in the file browser for generic TObject object.
TObjectItem(const std::string &_name, int _nchilds)
void SetClassName(const std::string &_className)
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...