Quantity.cc

Go to the documentation of this file.
00001 
00005 /* Copyright (C) 2002 - 2009, Bernd Speiser */
00006 /* This file is part of Quantity.
00007 
00008 Quantity is free software; you can redistribute it and/or
00009 modify it under the terms of the GNU General Public License
00010 as published by the Free Software Foundation; either version 2
00011 of the License, or (at your option) any later version.
00012 
00013 Quantity is distributed in the hope that it will be useful,
00014 but WITHOUT ANY WARRANTY; without even the implied warranty of
00015 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00016 GNU General Public License for more details.
00017   
00018 You should have received a copy of the GNU General Public License
00019 along with this program; if not, write to the Free Software
00020 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
00021 02111-1307, USA.
00022 */
00023 
00024 #ifndef _Quantity_cc
00025 #define _Quantity_cc
00026 
00027 // Quantity includes
00028 #include "Quantity/Quantity.h"
00029 
00030 namespace quantity {
00031 
00033 bool PrintStatus::_name = false;
00035 bool PrintStatus::_symbol = false;
00036 
00038 bool ReadStatus::_name = false;
00040 bool ReadStatus::_symbol = false;
00042 bool ReadStatus::_equal = true;
00044 std::string ReadStatus::_unit = "";
00045 
00047   const std::string UnitMismatch::UNIT_MISMATCH 
00048                                     = "unit not found or inappropriate";
00049 
00051   const std::string InputError::INPUT_ERROR = "inappropriate input";
00052 
00054   const std::string DimensionMismatch::DIMENSION_MISMATCH 
00055                                      = "incommensurate quantities used";
00056 
00058   const std::string VectorOutOfBounds::VECTOR_OUT_OF_BOUNDS 
00059                             = "access to nonexisting element requested";
00060 
00061 }
00062 
00063 #endif /* _Quantity_cc */

Generated on Mon Jul 27 15:55:45 2009 for Quantities by  doxygen 1.5.3