Logo ROOT   6.30.04
Reference Guide
 All Namespaces Files Pages
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 
13 //______________________________________________________________________________
14 TRDataFrame::TRDataFrame(): TObject()
15 {
16  df = Rcpp::DataFrame::create();
17 }
18 
19 //______________________________________________________________________________
20 TRDataFrame::TRDataFrame(const TRDataFrame &_df): TObject(_df)
21 {
22  df = _df.df;
23 }
24 
25 //______________________________________________________________________________
26 TRDataFrame::Binding TRDataFrame::operator[](const TString &name)
27 {
28  return Binding(df, name);
29 }