ExtractP2.hpp

Go to the documentation of this file.
00001 #pragma ident "$Id: ExtractP2.hpp 1889 2009-05-11 15:47:23Z afarris $"
00002 
00008 #ifndef ExtractP2_GPSTK
00009 #define ExtractP2_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., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00028 //  
00029 //  Dagoberto Salazar - gAGE. 2006
00030 //
00031 //============================================================================
00032 
00033 
00034 
00035 #include "ExtractData.hpp"
00036 
00037 
00038 namespace gpstk
00039 {
00040 
00043 
00044 
00046     class ExtractP2 : public ExtractData
00047     {
00048     public:
00049 
00051         ExtractP2() throw(InvalidData) : valid(false) 
00052         {
00053             checkData = true;
00054         };
00055 
00056 
00063         inline virtual int getData(const RinexObsData& rinexData) throw(InvalidData)
00064         {
00065             return ExtractData::getData(rinexData, RinexObsHeader::P2);
00066         };
00067 
00068 
00070         inline virtual ~ExtractP2() {};
00071 
00072 
00073     protected:
00074         bool valid;         // true only if results are valid
00075 
00076    }; // end class ExtractData
00077    
00078 
00080    
00081 }
00082 
00083 #endif

Generated on Wed Feb 8 03:30:59 2012 for GPS ToolKit Software Library by  doxygen 1.3.9.1