Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TKeyItem.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_TKeyItem
10#define ROOT7_Browsable_TKeyItem
11
13
14class TDirectory;
15
16namespace ROOT {
17namespace Browsable {
18
19/** \class TKeyItem
20\ingroup rbrowser
21Representation of single item in the file browser for object from TKey
22*/
23
24class TKeyItem : public RItem {
25 std::string className; ///< class name
26
27public:
28
29 TKeyItem() = default;
30
31 TKeyItem(const std::string &_name, int _nchilds) : RItem(_name, _nchilds) {}
32
33 // should be here, one needs virtual table for correct streaming of RRootBrowserReply
34 virtual ~TKeyItem() = default;
35
36 void SetClassName(const std::string &_className) { className = _className; }
37};
38
39} // namespace Browsable
40} // namespace ROOT
41
42
43#endif
Representation of single item in the browser.
Definition RItem.hxx:23
Representation of single item in the file browser for object from TKey.
Definition TKeyItem.hxx:24
void SetClassName(const std::string &_className)
Definition TKeyItem.hxx:36
virtual ~TKeyItem()=default
TKeyItem(const std::string &_name, int _nchilds)
Definition TKeyItem.hxx:31
std::string className
class name
Definition TKeyItem.hxx:25
Describe directory structure in memory.
Definition TDirectory.h:45
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...