Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

Quantity.cc

Go to the documentation of this file.
00001 
00005 /* Copyright (C) 2002 - 2005, 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 #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 /* _Quantity_cc */

Generated on Mon Feb 12 18:43:57 2007 for Quantity by doxygen 1.3.6