Loading [MathJax]/extensions/tex2jax.js
ROOT
6.12/07
Reference Guide
ROOT Home Page
Main Page
Tutorials
User's Classes
+
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
l
m
n
o
p
q
r
s
u
w
x
+
Enumerations
a
e
f
g
m
p
t
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
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
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
k
l
n
o
p
r
s
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
bindings
r
src
TRObject.cxx
Go to the documentation of this file.
1
/*************************************************************************
2
* Copyright (C) 2013-2014, Omar Andres Zapata Mesa *
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
#include<
TRObject.h
>
9
#include<vector>
10
11
using namespace
ROOT::R
;
12
ClassImp
(
TRObject
);
13
14
//______________________________________________________________________________
15
TRObject::TRObject
(SEXP robj):
TObject
(), fObj(robj), fStatus(
kTRUE
) { }
16
17
18
//______________________________________________________________________________
19
void
TRObject::operator=
(SEXP robj)
20
{
21
fStatus
=
kTRUE
;
22
fObj
= robj;
23
}
24
25
//______________________________________________________________________________
26
TRObject::TRObject
(SEXP robj,
Bool_t
status):
fObj
(robj),
fStatus
(status) {}
Bool_t
bool Bool_t
Definition:
RtypesCore.h:59
ROOT::R::TRObject::operator=
void operator=(SEXP xx)
Definition:
TRObject.cxx:19
ROOT::R::TRObject::fObj
Rcpp::RObject fObj
Definition:
TRObject.h:74
ROOT::R
namespace associated R package for ROOT.
Definition:
RExports.h:56
ROOT::R::TRObject
This is a class to get ROOT's objects from R's objects
Definition:
TRObject.h:71
ROOT::R::TRObject::TRObject
TRObject()
Default constructor.
Definition:
TRObject.h:80
ROOT::R::TRObject::fStatus
Bool_t fStatus
Definition:
TRObject.h:75
ClassImp
#define ClassImp(name)
Definition:
Rtypes.h:359
TObject
Mother of all ROOT objects.
Definition:
TObject.h:37
TRObject.h
kTRUE
const Bool_t kTRUE
Definition:
RtypesCore.h:87