ROOT
master
Reference Guide
Loading...
Searching...
No Matches
TBrowserImp.cxx
Go to the documentation of this file.
1
// @(#)root/base:$Id$
2
// Author: Fons Rademakers 15/11/95
3
4
/*************************************************************************
5
* Copyright (C) 1995-2021, Rene Brun and Fons Rademakers. *
6
* All rights reserved. *
7
* *
8
* For the licensing terms see $ROOTSYS/LICENSE. *
9
* For the list of contributors see $ROOTSYS/README/CREDITS. *
10
*************************************************************************/
11
12
/** \class TBrowserImp
13
\ingroup Base
14
15
ABC describing GUI independent browser implementation protocol.
16
*/
17
18
#include "
TBrowserImp.h
"
19
#include "
TBrowser.h
"
20
21
22
///////////////////////////////////////////////////////////////////
23
/// Default constructor
24
25
TBrowserImp::TBrowserImp
(
TBrowser
*
b
) :
26
fBrowser(
b
), fShowCycles(
kFALSE
)
27
{
28
}
29
30
///////////////////////////////////////////////////////////////////
31
/// Constructor with browser width and height
32
33
TBrowserImp::TBrowserImp
(
TBrowser
*,
const
char
*,
UInt_t
,
UInt_t
,
Option_t
*) :
34
fBrowser(nullptr), fShowCycles(
kFALSE
)
35
{
36
}
37
38
///////////////////////////////////////////////////////////////////
39
/// Constructor with browser x, y, width and height
40
41
TBrowserImp::TBrowserImp
(
TBrowser
*,
const
char
*,
Int_t
,
Int_t
,
UInt_t
,
UInt_t
,
Option_t
*)
42
: fBrowser(nullptr), fShowCycles(
kFALSE
)
43
{
44
}
45
46
///////////////////////////////////////////////////////////////////
47
/// Destructor
48
49
TBrowserImp::~TBrowserImp
()
50
{
51
if
(
fBrowser
&&
fBrowser
->
GetBrowserImp
() ==
this
)
52
fBrowser
->
SetBrowserImp
(
nullptr
);
53
}
b
#define b(i)
Definition
RSha256.hxx:100
kFALSE
constexpr Bool_t kFALSE
Definition
RtypesCore.h:108
Option_t
const char Option_t
Option string (const char)
Definition
RtypesCore.h:80
TBrowserImp.h
TBrowser.h
TBrowserImp::TBrowserImp
TBrowserImp(const TBrowserImp &)=delete
TBrowserImp::~TBrowserImp
virtual ~TBrowserImp()
Destructor.
Definition
TBrowserImp.cxx:49
TBrowserImp::fBrowser
TBrowser * fBrowser
TBrowser associated with this implementation.
Definition
TBrowserImp.h:32
TBrowser
Using a TBrowser one can browse all ROOT objects.
Definition
TBrowser.h:37
TBrowser::GetBrowserImp
TBrowserImp * GetBrowserImp() const
Definition
TBrowser.h:94
TBrowser::SetBrowserImp
void SetBrowserImp(TBrowserImp *i)
Definition
TBrowser.h:96
int
unsigned int
core
gui
src
TBrowserImp.cxx
ROOT master - Reference Guide Generated on Thu Sep 25 2025 15:04:43 (GVA Time) using Doxygen 1.10.0