MSpin-JCoupling  2.1
Public Member Functions | List of all members
magnes::Error Class Reference

A general class for storing experimental errors. More...

#include <couplingconstant.h>

Public Member Functions

 Error ()
 
double Value () const
 
 Error (double v)
 
 Error (const Error &e)
 
Erroroperator= (const Error &e)
 
Erroroperator= (double v)
 
 operator bool_type () const
 

Detailed Description

A general class for storing experimental errors.

A class for storing different scalars with existence test

Constructor & Destructor Documentation

§ Error() [1/3]

magnes::Error::Error ( )
inline

Build error with initial value 0

§ Error() [2/3]

magnes::Error::Error ( double  v)
inlineexplicit

Build error object with value v

§ Error() [3/3]

magnes::Error::Error ( const Error e)
inline

copy constructor

Member Function Documentation

§ operator bool_type()

magnes::Error::operator bool_type ( ) const
inline
Returns
true if error has been defined

§ operator=() [1/2]

Error& magnes::Error::operator= ( const Error e)
inline

assignment operator

§ operator=() [2/2]

Error& magnes::Error::operator= ( double  v)
inline

asignment operator


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