00001
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024 #ifndef _Quantity_cc
00025 #define _Quantity_cc
00026
00027 #include "Quantity/Quantity.h"
00028
00029 namespace quantity {
00030
00032 bool PrintStatus::_name = false;
00034 bool PrintStatus::_symbol = false;
00035
00037 bool ReadStatus::_name = false;
00039 bool ReadStatus::_symbol = false;
00041 bool ReadStatus::_equal = true;
00043 std::string ReadStatus::_unit = "";
00044
00046 const std::string UnitMismatch::UNIT_MISMATCH
00047 = "unit not found or inappropriate";
00048
00050 const std::string InputError::INPUT_ERROR = "inappropriate input";
00051
00053 const std::string DimensionMismatch::DIMENSION_MISMATCH
00054 = "incommensurate quantities used";
00055
00057 const std::string VectorOutOfBounds::VECTOR_OUT_OF_BOUNDS
00058 = "access to nonexisting element requested";
00059
00061 const std::string Quantities::TAG = "quantity";
00062
00064 const std::string Quantities::MODETAG = "mode";
00065
00067 const std::string Quantities::BASENAMETAG = "basename";
00068
00070 const std::string Quantities::VALUETAG = "value";
00071
00073 const std::string Quantities::UNITTAG = "unit";
00074
00075 }
00076
00077 #endif