Loading [MathJax]/extensions/tex2jax.js
ROOT
6.14/05
Reference Guide
ROOT Home
Main Page
Tutorials
Functional Parts
+
Namespaces
Namespace List
+
Namespace Members
+
All
<
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
<
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
u
w
x
+
Enumerations
a
e
f
g
m
p
t
v
w
y
+
Enumerator
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
w
+
All Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
+
Enumerations
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
w
y
+
Enumerator
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
+
Properties
f
+
Related Functions
:
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
+
Files
File List
+
File Members
+
All
1
2
3
4
5
6
7
8
9
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
+
Enumerations
c
e
f
i
l
m
p
r
u
x
+
Enumerator
a
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
u
v
w
+
Macros
1
2
3
4
5
6
7
8
9
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Release Notes
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
gui
gui
src
TGSimpleTable.cxx
Go to the documentation of this file.
1
// Author: Roel Aaij 21/07/2007
2
3
/*************************************************************************
4
* Copyright (C) 1995-2007, Rene Brun and Fons Rademakers. *
5
* All rights reserved. *
6
* *
7
* For the licensing terms see $ROOTSYS/LICENSE. *
8
* For the list of contributors see $ROOTSYS/README/CREDITS. *
9
*************************************************************************/
10
11
#include "
TGTable.h
"
12
#include "
TClass.h
"
13
#include "
TGWindow.h
"
14
#include "
TGResourcePool.h
"
15
#include "
Riostream.h
"
16
#include "
TSystem.h
"
17
#include "
TImage.h
"
18
#include "
TEnv.h
"
19
#include "
TGToolTip.h
"
20
#include "
TGPicture.h
"
21
#include "
TRandom3.h
"
22
#include "
TGSimpleTableInterface.h
"
23
#include "
TGSimpleTable.h
"
24
25
ClassImp
(
TGSimpleTable
);
26
27
////////////////////////////////////////////////////////////////////////////////
28
29
/* Begin_Html
30
<center><h2>TGSimpleTable</h2></center>
31
<br><br>
32
To provide a simple class to visualize an array of doubles, the class
33
TGSimpleTable is provided. TGSimpleTable creates it's own
34
TGSimpleTableInterface. For more information, see the documentation of
35
TGTable
36
<br><br>
37
The interface is accesible through the GetInterface() method.
38
End_Html
39
*/
40
41
////////////////////////////////////////////////////////////////////////////////
42
/// TGSimpleTable constuctor.
43
44
TGSimpleTable::TGSimpleTable
(
TGWindow
*p,
Int_t
id
,
Double_t
**
data
,
45
UInt_t
nrows,
UInt_t
ncolumns)
46
:
TGTable
(p, id, 0, nrows, ncolumns)
47
{
48
TGSimpleTableInterface
*iface =
new
TGSimpleTableInterface
(data, nrows,
49
ncolumns);
50
SetInterface
(iface,nrows, ncolumns);
51
}
52
53
////////////////////////////////////////////////////////////////////////////////
54
/// TGSimpleTable destructor.
55
56
TGSimpleTable::~TGSimpleTable
()
57
{
58
delete
fInterface
;
59
}
60
TGSimpleTableInterface.h
TClass.h
TGTable
Definition:
TGTable.h:34
TGSimpleTable::~TGSimpleTable
virtual ~TGSimpleTable()
TGSimpleTable destructor.
Definition:
TGSimpleTable.cxx:56
TGTable::SetInterface
virtual void SetInterface(TVirtualTableInterface *interface, UInt_t nrows=50, UInt_t ncolumns=20)
ApplicationClassificationKeras.data
data
Definition:
ApplicationClassificationKeras.py:17
TGWindow.h
Int_t
int Int_t
Definition:
RtypesCore.h:41
TImage.h
TSystem.h
TGSimpleTable
Definition:
TGSimpleTable.h:18
TGWindow
Definition:
TGWindow.h:32
TGTable::fInterface
TVirtualTableInterface * fInterface
Definition:
TGTable.h:96
TGSimpleTableInterface
Definition:
TGSimpleTableInterface.h:16
UInt_t
unsigned int UInt_t
Definition:
RtypesCore.h:42
TGPicture.h
Riostream.h
TGSimpleTable.h
ClassImp
#define ClassImp(name)
Definition:
Rtypes.h:359
Double_t
double Double_t
Definition:
RtypesCore.h:55
TGSimpleTable::TGSimpleTable
TGSimpleTable(TGWindow *p, Int_t id, Double_t **data, UInt_t nrows, UInt_t ncolumns)
TGSimpleTable constuctor.
Definition:
TGSimpleTable.cxx:44
TGToolTip.h
TGResourcePool.h
TRandom3.h
TEnv.h
TGTable.h