ROOT
git-r3/HEAD
Reference Guide
Loading...
Searching...
No Matches
TRFunctionImport.cxx
Go to the documentation of this file.
1
// Author: Omar Zapata Omar.Zapata@cern.ch 2015
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<
TRFunctionImport.h
>
11
#include <
TRObject.h
>
12
13
//______________________________________________________________________________
14
/* Begin_Html
15
End_Html
16
*/
17
18
19
using namespace
ROOT::R
;
20
21
22
23
//______________________________________________________________________________
24
TRFunctionImport::TRFunctionImport
(
const
TRFunctionImport
&fun):
TObject
(fun)
25
{
26
f
= fun.
f
;
27
}
28
29
//______________________________________________________________________________
30
TRFunctionImport::TRFunctionImport
(
const
TString
&
name
)
31
{
32
f
=
new
Rcpp::Function(
name
.Data());
33
}
34
35
//______________________________________________________________________________
36
TRFunctionImport::TRFunctionImport
(
const
TString
&
name
,
const
TString
&ns)
37
{
38
f
=
new
Rcpp::Function(
name
.Data(), ns.
Data
());
39
}
40
41
//______________________________________________________________________________
42
TRFunctionImport::TRFunctionImport
(
TRObject
&obj):
TObject
(obj)
43
{
44
f
=
new
Rcpp::Function((SEXP)obj);
45
}
46
47
//______________________________________________________________________________
48
TRFunctionImport::TRFunctionImport
(SEXP obj)
49
{
50
f
=
new
Rcpp::Function(obj);
51
}
name
char name[80]
Definition
TGX11.cxx:148
TRFunctionImport.h
TRObject.h
ROOT::R::TRFunctionImport::TRFunctionImport
TRFunctionImport(const Rcpp::Function &fun)
TRFunctionImport constructor for Rcpp::DataFrame.
Definition
TRFunctionImport.h:125
ROOT::R::TRFunctionImport::f
Rcpp::Function * f
Definition
TRFunctionImport.h:119
ROOT::R::TRObject
This is a class to get ROOT's objects from R's objects.
Definition
TRObject.h:69
TObject::TObject
TObject()
TObject constructor.
Definition
TObject.h:259
TString
Basic string class.
Definition
TString.h:138
TString::Data
const char * Data() const
Definition
TString.h:384
ROOT::R
namespace associated R package for ROOT.
Definition
RExports.h:72
bindings
r
src
TRFunctionImport.cxx
ROOTgit-r3/HEAD - Reference Guide Generated on
(GVA Time) using Doxygen 1.16.1