00001 #pragma ident "$Id$"
00002
00008 #ifndef GPSTK_RINEXGLONAVSTREAM_HPP
00009 #define GPSTK_RINEXGLONAVSTREAM_HPP
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
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 }
00086
00087 #endif // GPSTK_RINEXGLONAVSTREAM_HPP