00001 #pragma ident "$Id: WeightBase.hpp 3140 2012-06-18 15:03:02Z susancummins $" 00002 00008 #ifndef WEIGHT_BASE_GPSTK 00009 #define WEIGHT_BASE_GPSTK 00010 00011 //============================================================================ 00012 // 00013 // This file is part of GPSTk, the GPS Toolkit. 00014 // 00015 // The GPSTk is free software; you can redistribute it and/or modify 00016 // it under the terms of the GNU Lesser General Public License as published 00017 // by the Free Software Foundation; either version 2.1 of the License, or 00018 // any later version. 00019 // 00020 // The GPSTk is distributed in the hope that it will be useful, 00021 // but WITHOUT ANY WARRANTY; without even the implied warranty of 00022 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00023 // GNU Lesser General Public License for more details. 00024 // 00025 // You should have received a copy of the GNU Lesser General Public 00026 // License along with GPSTk; if not, write to the Free Software Foundation, 00027 // Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA 00028 // 00029 // Dagoberto Salazar - gAGE. 2006 00030 // 00031 //============================================================================ 00032 00033 00034 00035 #include "Exception.hpp" 00036 #include "Matrix.hpp" 00037 #include "Vector.hpp" 00038 00039 00040 namespace gpstk 00041 { 00044 NEW_EXCEPTION_CLASS(InvalidWeights, gpstk::Exception); 00045 00046 00049 00053 class WeightBase 00054 { 00055 public: 00056 00058 virtual ~WeightBase() {}; 00059 00060 00061 protected: 00062 bool valid; // true only if weights are valid 00063 00064 }; // end class WeightBase 00065 00066 00068 00069 } 00070 00071 #endif
1.3.9.1