00001 #pragma ident "$Id: SP3Stream.hpp 1050 2008-01-22 18:02:59Z rickmach $" 00002 00008 #ifndef GPSTK_SP3STREAM_HPP 00009 #define GPSTK_SP3STREAM_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 // Copyright 2004, The University of Texas at Austin 00030 // 00031 //============================================================================ 00032 00033 //============================================================================ 00034 // 00035 //This software developed by Applied Research Laboratories at the University of 00036 //Texas at Austin, under contract to an agency or agencies within the U.S. 00037 //Department of Defense. The U.S. Government retains all rights to use, 00038 //duplicate, distribute, disclose, or release this software. 00039 // 00040 //Pursuant to DoD Directive 523024 00041 // 00042 // DISTRIBUTION STATEMENT A: This software has been approved for public 00043 // release, distribution is unlimited. 00044 // 00045 //============================================================================= 00046 00047 #include "DayTime.hpp" 00048 #include "FFTextStream.hpp" 00049 00050 namespace gpstk 00051 { 00054 00061 class SP3Stream : public FFTextStream 00062 { 00063 public: 00064 SP3Stream() : buffer(std::string()) {} 00065 00069 SP3Stream(const char* fn, std::ios::openmode mode=std::ios::in) 00070 : FFTextStream(fn, mode) {} 00071 00073 virtual ~SP3Stream() {} 00074 00075 DayTime currentEpoch; 00076 std::string buffer; 00077 }; 00078 00080 00081 } // namespace 00082 00083 #endif
1.3.9.1