Logo ROOT   6.14/05
Reference Guide
List of all members | Public Member Functions | Protected Attributes | List of all members
ROOT::Math::BinaryOpCopyR< Operator, LHS, RHS, T > Class Template Reference

template<class Operator, class LHS, class RHS, class T>
class ROOT::Math::BinaryOpCopyR< Operator, LHS, RHS, T >

Binary Operation class with value storage for the right argument.

Special case of BinaryOp where for the wight argument a copy is stored instead of a reference This is use in the case for example of constant where we cannot store by reference but need to copy since Constant is a temporary object

Definition at line 318 of file Expression.h.

Public Member Functions

 BinaryOpCopyR (Operator, const LHS &lhs, const RHS &rhs)
 
 ~BinaryOpCopyR ()
 
apply (unsigned int i) const
 
bool IsInUse (const T *p) const
 
operator() (unsigned int i, unsigned int j) const
 

Protected Attributes

const LHS & lhs_
 
const RHS rhs_
 

#include <Math/Expression.h>

Constructor & Destructor Documentation

◆ BinaryOpCopyR()

template<class Operator , class LHS , class RHS , class T >
ROOT::Math::BinaryOpCopyR< Operator, LHS, RHS, T >::BinaryOpCopyR ( Operator  ,
const LHS &  lhs,
const RHS &  rhs 
)
inline

Definition at line 321 of file Expression.h.

◆ ~BinaryOpCopyR()

template<class Operator , class LHS , class RHS , class T >
ROOT::Math::BinaryOpCopyR< Operator, LHS, RHS, T >::~BinaryOpCopyR ( )
inline

Definition at line 325 of file Expression.h.

Member Function Documentation

◆ apply()

template<class Operator , class LHS , class RHS , class T >
T ROOT::Math::BinaryOpCopyR< Operator, LHS, RHS, T >::apply ( unsigned int  i) const
inline

Definition at line 328 of file Expression.h.

◆ IsInUse()

template<class Operator , class LHS , class RHS , class T >
bool ROOT::Math::BinaryOpCopyR< Operator, LHS, RHS, T >::IsInUse ( const T *  p) const
inline

Definition at line 335 of file Expression.h.

◆ operator()()

template<class Operator , class LHS , class RHS , class T >
T ROOT::Math::BinaryOpCopyR< Operator, LHS, RHS, T >::operator() ( unsigned int  i,
unsigned int  j 
) const
inline

Definition at line 331 of file Expression.h.

Member Data Documentation

◆ lhs_

template<class Operator , class LHS , class RHS , class T >
const LHS& ROOT::Math::BinaryOpCopyR< Operator, LHS, RHS, T >::lhs_
protected

Definition at line 342 of file Expression.h.

◆ rhs_

template<class Operator , class LHS , class RHS , class T >
const RHS ROOT::Math::BinaryOpCopyR< Operator, LHS, RHS, T >::rhs_
protected

Definition at line 343 of file Expression.h.


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