ROOT  6.06/09
Reference Guide
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
 
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::BinaryOpCopyL< Operator, LHS, RHS, T >::BinaryOpCopyL ( Operator  ,
const LHS &  lhs,
const RHS &  rhs 
)
inline

Definition at line 280 of file Expression.h.

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

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.

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.

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

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

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