Logo ROOT   6.10/09
Reference Guide
List of all members | Public Member Functions | Private Attributes | Friends | List of all members
ROOT::R::TRDataFrame::Binding Class Reference

Definition at line 184 of file TRDataFrame.h.

Public Member Functions

 Binding (Rcpp::DataFrame &_df, TString name)
 Construct a Binding nestead class for facilities with operators. More...
 
 Binding (const Binding &obj)
 Copy constructor for Binding nestead class. 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...
 
template<class T >
Binding operator= (T var)
 template method for operator assignation More...
 
Binding operator= (Binding obj)
 method for operator assignation of Binding class More...
 
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 var)
 

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 192 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 197 of file TRDataFrame.h.

Member Function Documentation

◆ operator T() [1/2]

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

Definition at line 322 of file TRDataFrame.h.

◆ operator T() [2/2]

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

Definition at line 326 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 292 of file TRDataFrame.h.

◆ operator=() [1/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 202 of file TRDataFrame.h.

◆ operator=() [2/2]

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

method for operator assignation of Binding class

Parameters
objother Binding object

Definition at line 239 of file TRDataFrame.h.

◆ operator>>() [1/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 276 of file TRDataFrame.h.

◆ operator>>() [2/2]

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

Definition at line 281 of file TRDataFrame.h.

Friends And Related Function Documentation

◆ TRDataFrame

friend class TRDataFrame
friend

Definition at line 185 of file TRDataFrame.h.

Member Data Documentation

◆ fDf

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

Definition at line 333 of file TRDataFrame.h.

◆ fName

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

Definition at line 332 of file TRDataFrame.h.


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