00001
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028 #ifndef _Fraction_cc
00029 #define _Fraction_cc
00030
00031 #include "Quantity/Variable.h"
00032
00033 #include "PhysicalQuantities/Fraction.h"
00034
00035 namespace Quantities {
00036 namespace FractionUnits {
00037
00038
00039
00040
00041 template<> const double Unity::StandardRatio = 1.;
00042 template<> const std::string Unity::Namestring = "unity";
00043 template<> const std::string Unity::Symbolstring = "";
00044 template<> const bool Unity::SI = true;
00045 template<> const bool Unity::Exact = true;
00046
00047
00048
00049 template<> const double Percent::StandardRatio = 0.01;
00050 template<> const std::string Percent::Namestring = "percent";
00051 template<> const std::string Percent::Symbolstring = "%";
00052 template<> const bool Percent::SI = true;
00053 template<> const bool Percent::Exact = true;
00054
00055
00056
00057 template<> const double Ppm::StandardRatio = 1.e-6;
00058 template<> const std::string Ppm::Namestring = "ppm";
00059 template<> const std::string Ppm::Symbolstring = "ppm";
00060 template<> const bool Ppm::SI = true;
00061 template<> const bool Ppm::Exact = true;
00062
00063 }
00064
00065 const std::string Name<FractionQuantities>::String = "fraction";
00066 const std::string Symbol<FractionQuantities>::String = "";
00067
00068 }
00069
00070 #endif