ROOT
v6-28
Reference Guide
Loading...
Searching...
No Matches
TRObject.cxx
Go to the documentation of this file.
1
// Author: Omar Zapata Omar.Zapata@cern.ch 2014
2
3
/*************************************************************************
4
* Copyright (C) 1995-2021, 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
#include<
TRObject.h
>
11
#include<vector>
12
13
using namespace
ROOT::R
;
14
ClassImp
(
TRObject
);
15
16
//______________________________________________________________________________
17
TRObject::TRObject
(SEXP robj):
TObject
(), fObj(robj), fStatus(
kTRUE
) { }
18
19
20
//______________________________________________________________________________
21
void
TRObject::operator=
(SEXP robj)
22
{
23
fStatus
=
kTRUE
;
24
fObj
= robj;
25
}
26
27
//______________________________________________________________________________
28
TRObject::TRObject
(SEXP robj,
Bool_t
status): fObj(robj), fStatus(status) {}
kTRUE
constexpr Bool_t kTRUE
Definition
RtypesCore.h:100
ClassImp
#define ClassImp(name)
Definition
Rtypes.h:377
TRObject.h
ROOT::R::TRObject
This is a class to get ROOT's objects from R's objects.
Definition
TRObject.h:70
ROOT::R::TRObject::fObj
Rcpp::RObject fObj
Definition
TRObject.h:73
ROOT::R::TRObject::operator=
void operator=(SEXP xx)
Definition
TRObject.cxx:21
ROOT::R::TRObject::TRObject
TRObject()
Default constructor.
Definition
TRObject.h:79
ROOT::R::TRObject::fStatus
Bool_t fStatus
Definition
TRObject.h:74
TObject
Mother of all ROOT objects.
Definition
TObject.h:41
bool
ROOT::R
namespace associated R package for ROOT.
Definition
RExports.h:71
bindings
r
src
TRObject.cxx
ROOT v6-28 - Reference Guide Generated on Thu Oct 24 2024 01:48:59 (GVA Time) using Doxygen 1.9.8