Logo ROOT  
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
13using namespace ROOT::R;
14
15//______________________________________________________________________________
16TRObject::TRObject(SEXP robj): TObject(), fObj(robj), fStatus(kTRUE) { }
17
18
19//______________________________________________________________________________
20void TRObject::operator=(SEXP robj)
21{
22 fStatus = kTRUE;
23 fObj = robj;
24}
25
26//______________________________________________________________________________
27TRObject::TRObject(SEXP robj, Bool_t status): fObj(robj), fStatus(status) {}
bool Bool_t
Boolean (0=false, 1=true) (bool).
Definition RtypesCore.h:77
constexpr Bool_t kTRUE
Definition RtypesCore.h:107
Rcpp::RObject fObj
Definition TRObject.h:72
void operator=(SEXP xx)
Definition TRObject.cxx:20
TRObject()
Default constructor.
Definition TRObject.h:78
TObject()
TObject constructor.
Definition TObject.h:259
namespace associated R package for ROOT.
Definition RExports.h:72