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

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

BinaryOperation class A class representing binary operators in the parse tree.

This is the default case where objects are kept by reference

Author
T. Glebe

Definition at line 234 of file Expression.h.

Public Member Functions

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

◆ BinaryOp()

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

Definition at line 237 of file Expression.h.

◆ ~BinaryOp()

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

Definition at line 241 of file Expression.h.

Member Function Documentation

◆ apply()

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

Definition at line 244 of file Expression.h.

◆ IsInUse()

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

Definition at line 251 of file Expression.h.

◆ operator()()

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

Definition at line 247 of file Expression.h.

Member Data Documentation

◆ lhs_

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

Definition at line 257 of file Expression.h.

◆ rhs_

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

Definition at line 258 of file Expression.h.


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