|
ThePEG
1.8.0
|
Specialization of Qty for <0,0,0> with conversions to double. More...
#include <PhysicalQty.h>
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. | |
Specialization of Qty for <0,0,0> with conversions to double.
Definition at line 167 of file PhysicalQty.h.
1.8.9.1