ROOT  6.06/09
Reference Guide
Public Types | Public Member Functions | Private Attributes | List of all members
ROOT::Math::VecExpr< ExprType, T, D > Class Template Reference

template<class ExprType, class T, unsigned int D>
class ROOT::Math::VecExpr< ExprType, T, D >

Expression wrapper class for Vector objects.

Definition at line 64 of file Expression.h.

Public Types

enum  { kRows = D }
 
typedef T value_type
 

Public Member Functions

 VecExpr (const ExprType &rhs)
 
 ~VecExpr ()
 
apply (unsigned int i) const
 
operator() (unsigned int i) const
 
bool IsInUse (const T *p) const
 function to determine if any use operand is being used (has same memory adress) More...
 
std::ostream & print (std::ostream &os) const
 used by operator<<() More...
 

Private Attributes

ExprType rhs_
 

#include <Math/Expression.h>

Member Typedef Documentation

template<class ExprType, class T, unsigned int D>
typedef T ROOT::Math::VecExpr< ExprType, T, D >::value_type

Definition at line 67 of file Expression.h.

Constructor & Destructor Documentation

template<class ExprType, class T, unsigned int D>
ROOT::Math::VecExpr< ExprType, T, D >::VecExpr ( const ExprType &  rhs)
inline

Definition at line 70 of file Expression.h.

template<class ExprType, class T, unsigned int D>
ROOT::Math::VecExpr< ExprType, T, D >::~VecExpr ( )
inline

Definition at line 74 of file Expression.h.

Member Function Documentation

template<class ExprType, class T, unsigned int D>
T ROOT::Math::VecExpr< ExprType, T, D >::apply ( unsigned int  i) const
inline
template<class ExprType, class T, unsigned int D>
bool ROOT::Math::VecExpr< ExprType, T, D >::IsInUse ( const T *  p) const
inline

function to determine if any use operand is being used (has same memory adress)

Definition at line 104 of file Expression.h.

Referenced by ROOT::Math::SVector< T, D >::operator=().

template<class ExprType, class T, unsigned int D>
T ROOT::Math::VecExpr< ExprType, T, D >::operator() ( unsigned int  i) const
inline

Definition at line 81 of file Expression.h.

template<class ExprType, class T, unsigned int D>
std::ostream& ROOT::Math::VecExpr< ExprType, T, D >::print ( std::ostream &  os) const
inline

used by operator<<()

Definition at line 110 of file Expression.h.

Member Data Documentation

template<class ExprType, class T, unsigned int D>
ExprType ROOT::Math::VecExpr< ExprType, T, D >::rhs_
private

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