Logo ROOT  
Reference Guide
ROOT::R::TRDataFrame::Binding Class Reference

Definition at line 183 of file TRDataFrame.h.

Public Member Functions

 Binding (const Binding &obj)
 Copy constructor for Binding nestead class. More...
 
 Binding (Rcpp::DataFrame &_df, TString name)
 Construct a Binding nestead class for facilities with operators. More...
 
template<class T >
 operator T ()
 
template<class T >
 operator T () const
 
template<class T >
Bindingoperator<< (T var)
 Template method for operator << that lets to use dataframes like streams example: df["v"]<<vector;. More...
 
Binding operator= (Binding obj)
 method for operator assignation of Binding class More...
 
template<class T >
Binding operator= (T var)
 template method for operator assignation More...
 
Binding operator>> (Binding var)
 
template<class T >
Bindingoperator>> (T &var)
 Template method for operator >> that lets to use dataframes like streams example: df["v"]>>vector;. More...
 

Private Attributes

Rcpp::DataFramefDf
 
TString fName
 

Friends

class TRDataFrame
 

#include <TRDataFrame.h>

Constructor & Destructor Documentation

◆ Binding() [1/2]

ROOT::R::TRDataFrame::Binding::Binding ( Rcpp::DataFrame _df,
TString  name 
)
inline

Construct a Binding nestead class for facilities with operators.

Parameters
_dfRcpp::DataFrame (internal from TDataFrame)
namestring to use in assignations

Definition at line 191 of file TRDataFrame.h.

◆ Binding() [2/2]

ROOT::R::TRDataFrame::Binding::Binding ( const Binding obj)
inline

Copy constructor for Binding nestead class.

Parameters
objobject with Rcpp::DataFame objecta and string with name

Definition at line 196 of file TRDataFrame.h.

Member Function Documentation

◆ operator T() [1/2]

template<class T >
ROOT::R::TRDataFrame::Binding::operator T ( )
inline

Definition at line 321 of file TRDataFrame.h.

◆ operator T() [2/2]

template<class T >
ROOT::R::TRDataFrame::Binding::operator T ( ) const
inline

Definition at line 325 of file TRDataFrame.h.

◆ operator<<()

template<class T >
Binding & ROOT::R::TRDataFrame::Binding::operator<< ( var)
inline

Template method for operator << that lets to use dataframes like streams example: df["v"]<<vector;.

Parameters
varany datatype that can be assigned to dataframe label

Definition at line 291 of file TRDataFrame.h.

◆ operator=() [1/2]

Binding ROOT::R::TRDataFrame::Binding::operator= ( Binding  obj)
inline

method for operator assignation of Binding class

Parameters
objother Binding object

Definition at line 238 of file TRDataFrame.h.

◆ operator=() [2/2]

template<class T >
Binding ROOT::R::TRDataFrame::Binding::operator= ( var)
inline

template method for operator assignation

Parameters
varany R wrappable datatype

Definition at line 201 of file TRDataFrame.h.

◆ operator>>() [1/2]

Binding ROOT::R::TRDataFrame::Binding::operator>> ( Binding  var)
inline

Definition at line 280 of file TRDataFrame.h.

◆ operator>>() [2/2]

template<class T >
Binding & ROOT::R::TRDataFrame::Binding::operator>> ( T &  var)
inline

Template method for operator >> that lets to use dataframes like streams example: df["v"]>>vector;.

Parameters
varany datatype that can be assigned from dataframe label

Definition at line 275 of file TRDataFrame.h.

Friends And Related Function Documentation

◆ TRDataFrame

friend class TRDataFrame
friend

Definition at line 184 of file TRDataFrame.h.

Member Data Documentation

◆ fDf

Rcpp::DataFrame& ROOT::R::TRDataFrame::Binding::fDf
private

Definition at line 332 of file TRDataFrame.h.

◆ fName

TString ROOT::R::TRDataFrame::Binding::fName
private

Definition at line 331 of file TRDataFrame.h.


The documentation for this class was generated from the following file: