00001
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025 #ifndef _Digital_cc
00026 #define _Digital_cc
00027
00028 #include "Quantity/Variable.h"
00029
00030 #include "GeneralQuantities/Digital.h"
00031
00032 namespace quantity {
00033 namespace digital {
00034
00035
00036
00037 template<> const std::string Unity::Namestring = "";
00038 template<> const std::string Unity::Symbolstring = "";
00039 template<> const bool Unity::SI = false;
00040
00041 template<> const bool Standard<Unity, bool>::ratio = true;
00042 template<> const bool Standard<Unity, bool>::exact = true;
00043
00044 }
00045
00046 template<> const std::string Name<digital::Quantity>::String
00047 = "digital";
00048 template<> const std::string Symbol<digital::Quantity>::String = "";
00049
00050 namespace digital {
00051 const quantity::DigitalConstant On (true);
00052 const quantity::DigitalConstant Off (false);
00053 }
00054
00055 }
00056
00057 #endif