ROOT  6.07/01
Reference Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 ()
 
T apply (unsigned int i) const
 
T operator() (unsigned int i, unsigned int j) const
 
bool IsInUse (const T *p) const
 

Protected Attributes

const LHS & lhs_
 
const RHS rhs_
 

#include <Math/Expression.h>

Constructor & Destructor Documentation

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.

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

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.

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.

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

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

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