ThePEG::IUnitErr< T, UT > Struct Template Reference

The IUnitErr class is used to facilitate input of unitful numbers with error estimates written out using the OUnitErr class. More...

#include <UnitIO.h>

List of all members.

Public Member Functions

 IUnitErr (T &t, T &dt, const UT &u)
 Constructor given an object to be read assuming the given unit.

Public Attributes

T & x
 Reference to the object to be read.
T & dx
 The estimated error of the number to be read.
UT ut
 The unit assumed when reading the object.


Detailed Description

template<typename T, typename UT>
struct ThePEG::IUnitErr< T, UT >

The IUnitErr class is used to facilitate input of unitful numbers with error estimates written out using the OUnitErr class.

Definition at line 237 of file UnitIO.h.


Constructor & Destructor Documentation

template<typename T, typename UT>
ThePEG::IUnitErr< T, UT >::IUnitErr ( T &  t,
T &  dt,
const UT &  u 
) [inline]

Constructor given an object to be read assuming the given unit.

Definition at line 241 of file UnitIO.h.


Member Data Documentation

template<typename T, typename UT>
T& ThePEG::IUnitErr< T, UT >::x

Reference to the object to be read.

Definition at line 244 of file UnitIO.h.

Referenced by ThePEG::operator>>().

template<typename T, typename UT>
T& ThePEG::IUnitErr< T, UT >::dx

The estimated error of the number to be read.

Definition at line 247 of file UnitIO.h.

Referenced by ThePEG::operator>>().

template<typename T, typename UT>
UT ThePEG::IUnitErr< T, UT >::ut

The unit assumed when reading the object.

Definition at line 250 of file UnitIO.h.

Referenced by ThePEG::operator>>().


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

Generated on Thu Apr 29 12:43:25 2010 for ThePEG by  doxygen 1.5.5