ROOT
v6-32
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
ClassImp
(
TRFunctionImport
);
21
22
23
24
//______________________________________________________________________________
25
TRFunctionImport::TRFunctionImport
(
const
TRFunctionImport
&fun):
TObject
(fun)
26
{
27
f
= fun.
f
;
28
}
29
30
//______________________________________________________________________________
31
TRFunctionImport::TRFunctionImport
(
const
TString
&
name
)
32
{
33
f
=
new
Rcpp::Function(
name
.Data());
34
}
35
36
//______________________________________________________________________________
37
TRFunctionImport::TRFunctionImport
(
const
TString
&
name
,
const
TString
&ns)
38
{
39
f
=
new
Rcpp::Function(
name
.Data(), ns.
Data
());
40
}
41
42
//______________________________________________________________________________
43
TRFunctionImport::TRFunctionImport
(
TRObject
&obj):
TObject
(obj)
44
{
45
f
=
new
Rcpp::Function((SEXP)obj);
46
}
47
48
//______________________________________________________________________________
49
TRFunctionImport::TRFunctionImport
(SEXP obj)
50
{
51
f
=
new
Rcpp::Function(obj);
52
}
ClassImp
#define ClassImp(name)
Definition
Rtypes.h:377
name
char name[80]
Definition
TGX11.cxx:110
TRFunctionImport.h
TRObject.h
ROOT::R::TRFunctionImport
This is a class to pass functions from ROOT to R.
Definition
TRFunctionImport.h:114
ROOT::R::TRFunctionImport::TRFunctionImport
TRFunctionImport(const Rcpp::Function &fun)
TRFunctionImport constructor for Rcpp::DataFrame.
Definition
TRFunctionImport.h:126
ROOT::R::TRFunctionImport::f
Rcpp::Function * f
Definition
TRFunctionImport.h:120
ROOT::R::TRObject
This is a class to get ROOT's objects from R's objects.
Definition
TRObject.h:70
TObject::TObject
TObject()
TObject constructor.
Definition
TObject.h:251
TString
Basic string class.
Definition
TString.h:139
TString::Data
const char * Data() const
Definition
TString.h:376
ROOT::R
namespace associated R package for ROOT.
Definition
RExports.h:71
bindings
r
src
TRFunctionImport.cxx
ROOT v6-32 - Reference Guide Generated on Tue May 19 2026 02:46:44 (GVA Time) using Doxygen 1.13.2