RinexGloNavStream.hpp

Go to the documentation of this file.
00001 #pragma ident "$Id$"
00002 
00008 #ifndef GPSTK_RINEXGLONAVSTREAM_HPP
00009 #define GPSTK_RINEXGLONAVSTREAM_HPP
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 ( http://www.gage.es ). 2011
00030 //
00031 //============================================================================
00032 
00033 
00034 #include "FFTextStream.hpp"
00035 #include "RinexGloNavHeader.hpp"
00036 
00037 namespace gpstk
00038 {
00042 
00048    class RinexGloNavStream : public FFTextStream
00049    {
00050    public:
00051 
00053       RinexGloNavStream()
00054             : headerRead(false)
00055          {}
00056       
00060       RinexGloNavStream( const char* fn,
00061                          std::ios::openmode mode=std::ios::in )
00062          : FFTextStream(fn, mode), headerRead(false) {}
00063       
00065       virtual ~RinexGloNavStream() {}
00066       
00068       virtual void open( const char* fn,
00069                          std::ios::openmode mode )
00070          { 
00071             FFTextStream::open(fn, mode); 
00072             headerRead = false; 
00073             header = RinexGloNavHeader();
00074          }
00075 
00077       RinexGloNavHeader header;
00078      
00080       bool headerRead;
00081    };
00082 
00084 
00085 }  // End of namespace gpstk
00086 
00087 #endif   // GPSTK_RINEXGLONAVSTREAM_HPP

Generated on Tue May 22 03:31:00 2012 for GPS ToolKit Software Library by  doxygen 1.3.9.1