00001
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027 #ifndef _ZeroOfCelsiusScale_h
00028 #define _ZeroOfCelsiusScale_h
00029
00030
00031 #include "Quantities/Quantity/UniqueConstant.h"
00032 #include "Quantities/PhysicalQuantities/ThermodynamicTemperature.h"
00033
00034 namespace quantity {
00035 namespace zeroOfCelsiusScale {
00036
00037 typedef thermodynamicTemperature::Quantity Quantity;
00038
00039 class DerivedZeroOfCelsiusScale;
00040 }
00041
00042
00043 template<>
00044 struct DerivedQuantityTraits<thermodynamicTemperature::Class,
00045 zeroOfCelsiusScale::DerivedZeroOfCelsiusScale>
00046 {
00047 static const bool OverwriteName = true;
00048 static const bool OverwriteSymbol = true;
00049
00050 static const std::string NameString ();
00051 static const std::string SymbolString ();
00052
00053 };
00054
00055 typedef Loki::SingletonHolder<UniqueConstant
00056 <thermodynamicTemperature::Quantity,
00057 zeroOfCelsiusScale::DerivedZeroOfCelsiusScale> > ZeroOfCelsiusScale;
00058
00059 #define ZEROOFCELSIUSSCALE ZeroOfCelsiusScale::Instance()
00060
00061 }
00062
00063 #endif