ROOT  6.07/01
Reference Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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;
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) {}
void * fObj
TAlienJobStatus * status
Definition: TAlienJob.cxx:51
bool Bool_t
Definition: RtypesCore.h:59
void operator=(SEXP xx)
Definition: TRObject.cxx:19
Rcpp::RObject fObj
Definition: TRObject.h:76
ClassImp(TRObject) TRObject
Definition: TRObject.cxx:12
This is a class to get ROOT's objects from R's objects
Definition: TRObject.h:73
TRObject()
Default constructor.
Definition: TRObject.h:82
Bool_t fStatus
Definition: TRObject.h:77
Mother of all ROOT objects.
Definition: TObject.h:58
const Bool_t kTRUE
Definition: Rtypes.h:91
TRandom3 R
a TMatrixD.
Definition: testIO.cxx:28