Public Member Functions | Protected Attributes

ValWithError< A > Class Template Reference

List of all members.

Public Member Functions

 ValWithError (A val__=0, A var__=0)
 operator A ()
template<class B >
ValWithError< A > & operator+= (const ValWithError< B > &b)
template<class B >
ValWithError< A > & operator-= (const ValWithError< B > &b)
template<class B >
ValWithError< A > & operator*= (const ValWithError< B > &b)
template<class B >
ValWithError< A > & operator/= (const ValWithError< B > &b)
template<class B >
void operator+= (B b)
template<class B >
void operator-= (B b)
template<class B >
void operator*= (B b)
template<class B >
void operator/= (B b)
stDev () const
var () const
val () const
void setVal (A val__)
void setVar (A var__)

Protected Attributes

val_
variance_

template<class A>
class ValWithError< A >


Constructor & Destructor Documentation

template<class A>
ValWithError< A >::ValWithError ( val__ = 0,
var__ = 0 
) [inline]

Member Function Documentation

template<class A>
ValWithError< A >::operator A (  )  [inline]
template<class A>
template<class B >
ValWithError<A>& ValWithError< A >::operator*= ( const ValWithError< B > &  b  )  [inline]
template<class A>
template<class B >
void ValWithError< A >::operator*= ( b  )  [inline]
template<class A>
template<class B >
ValWithError<A>& ValWithError< A >::operator+= ( const ValWithError< B > &  b  )  [inline]
template<class A>
template<class B >
void ValWithError< A >::operator+= ( b  )  [inline]
template<class A>
template<class B >
ValWithError<A>& ValWithError< A >::operator-= ( const ValWithError< B > &  b  )  [inline]
template<class A>
template<class B >
void ValWithError< A >::operator-= ( b  )  [inline]
template<class A>
template<class B >
void ValWithError< A >::operator/= ( b  )  [inline]
template<class A>
template<class B >
ValWithError<A>& ValWithError< A >::operator/= ( const ValWithError< B > &  b  )  [inline]
template<class A>
void ValWithError< A >::setVal ( val__  )  [inline]
template<class A>
void ValWithError< A >::setVar ( var__  )  [inline]
template<class A>
A ValWithError< A >::stDev (  )  const [inline]
template<class A>
A ValWithError< A >::val (  )  const [inline]
template<class A>
A ValWithError< A >::var (  )  const [inline]

Member Data Documentation

template<class A>
A ValWithError< A >::val_ [protected]
template<class A>
A ValWithError< A >::variance_ [protected]