ROOT
6.06/08
Reference Guide
bindings
r
src
TRDataFrame.cxx
Go to the documentation of this file.
1
/*************************************************************************
2
* Copyright (C) 2013-2015, 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<
TRDataFrame.h
>
9
10
11
using namespace
ROOT::R
;
12
ClassImp
(
TRDataFrame
)
13
14
15
//______________________________________________________________________________
16
TRDataFrame
::
TRDataFrame
():
TObject
()
17
{
18
df = Rcpp::DataFrame::create();
19
}
20
21
//______________________________________________________________________________
22
TRDataFrame::TRDataFrame
(
const
TRDataFrame
&_df):
TObject
(_df)
23
{
24
df
= _df.
df
;
25
}
26
27
//______________________________________________________________________________
28
TRDataFrame::Binding
TRDataFrame::operator[]
(
const
TString
&
name
)
29
{
30
return
Binding
(
df
, name);
31
}
TString
Basic string class.
Definition:
TString.h:137
ROOT::R::TRDataFrame::operator[]
Binding operator[](const TString &name)
Definition:
TRDataFrame.cxx:28
Binding
void Binding()
Definition:
Binding.C:21
ROOT::R::TRDataFrame::df
Rcpp::DataFrame df
Definition:
TRDataFrame.h:187
ROOT::R
namespace associated R package for ROOT.
Definition:
RExports.h:70
TRDataFrame.h
ROOT::R::TRDataFrame::TRDataFrame
TRDataFrame()
Default TDataFrame constructor.
Definition:
TRDataFrame.cxx:16
ClassImp
#define ClassImp(name)
Definition:
Rtypes.h:279
name
#define name(a, b)
Definition:
linkTestLib0.cpp:5
TObject
Mother of all ROOT objects.
Definition:
TObject.h:58
ROOT::R::TRDataFrame::Binding
Definition:
TRDataFrame.h:190
ROOT::R::TRDataFrame
This is a class to create DataFrames from ROOT to R
Definition:
TRDataFrame.h:183