Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
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.
 
 Binding (Rcpp::DataFrame &_df, TString name)
 Construct a Binding nestead class for facilities with operators.
 
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;.
 
Binding operator= (Binding obj)
 method for operator assignation of Binding class
 
template<class T >
Binding operator= (T var)
 template method for operator assignation
 
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;.
 

Private Attributes

Rcpp::DataFrame & fDf
 
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 Symbol 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.

  • bindings/r/inc/TRDataFrame.h