ThePEG::ThePEG::Qty< 0, 0, 0, DL, DE, DQ > Class Template Reference

Specialization of Qty for <0,0,0> with conversions to double. More...

#include <PhysicalQty.h>

List of all members.

Public Types

typedef Qty< 0, 0, 0, DL, DE, DQ > Squared
 The squared type.

Public Member Functions

 Qty (ZeroUnit)
 Default constructor to 0.
 Qty (double x=0.0)
 Default constructor from a double.
template<int DL2, int DE2, int DQ2>
 Qty (const Qty< 0, 0, 0, DL2, DE2, DQ2 > &q)
 Constructor from a compatible quantity.
double rawValue () const
 Access to the raw value.
 operator double () const
 Cast to double.
Qty< 0, 0, 0, DL, DE, DQ > & operator*= (double x)
 Assignment multiplication by dimensionless number.
Qty< 0, 0, 0, DL, DE, DQ > & operator/= (double x)
 Assignment division by dimensionless number.
template<int DL2, int DE2, int DQ2>
Qty< 0, 0, 0, DL, DE, DQ > & operator+= (const Qty< 0, 0, 0, DL2, DE2, DQ2 > x)
 Assignment addition with compatible quantity.
template<int DL2, int DE2, int DQ2>
Qty< 0, 0, 0, DL, DE, DQ > & operator-= (const Qty< 0, 0, 0, DL2, DE2, DQ2 > x)
 Assignment subtraction with compatible quantity.
Qty< 0, 0, 0, DL, DE, DQ > & operator+= (double x)
 Assignment addition with double.
Qty< 0, 0, 0, DL, DE, DQ > & operator-= (double x)
 Assignment subtraction with double.

Static Public Member Functions

static double baseunit ()
 Basic unit of this quantity.

Private Attributes

double rawValue_
 The raw value.


Detailed Description

template<int DL, int DE, int DQ>
class ThePEG::ThePEG::Qty< 0, 0, 0, DL, DE, DQ >

Specialization of Qty for <0,0,0> with conversions to double.

Definition at line 150 of file PhysicalQty.h.


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

Generated on Thu Apr 29 12:42:57 2010 for ThePEG by  doxygen 1.5.5