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

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

Binary Operation class with value storage for the left argument.

Special case of BinaryOp where for the left argument the passed object is copied and stored by value instead of a reference. This is used in the case of operations involving a constant, where we cannot store a reference to the constant (we get a temporary object) and we need to copy it.

Definition at line 277 of file Expression.h.

Public Member Functions

 BinaryOpCopyL (Operator, const LHS &lhs, const RHS &rhs)
 
 ~BinaryOpCopyL ()
 
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

◆ BinaryOpCopyL()

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

Definition at line 280 of file Expression.h.

◆ ~BinaryOpCopyL()

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

Definition at line 284 of file Expression.h.

Member Function Documentation

◆ apply()

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

Definition at line 287 of file Expression.h.

◆ IsInUse()

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

Definition at line 294 of file Expression.h.

◆ operator()()

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

Definition at line 290 of file Expression.h.

Member Data Documentation

◆ lhs_

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

Definition at line 301 of file Expression.h.

◆ rhs_

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

Definition at line 302 of file Expression.h.


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