00001 #pragma ident "$Id: BinexStream.hpp 1895 2009-05-12 19:34:29Z afarris $" 00002 00003 //============================================================================ 00004 // 00005 // This file is part of GPSTk, the GPS Toolkit. 00006 // 00007 // The GPSTk is free software; you can redistribute it and/or modify 00008 // it under the terms of the GNU Lesser General Public License as published 00009 // by the Free Software Foundation; either version 2.1 of the License, or 00010 // any later version. 00011 // 00012 // The GPSTk is distributed in the hope that it will be useful, 00013 // but WITHOUT ANY WARRANTY; without even the implied warranty of 00014 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00015 // GNU Lesser General Public License for more details. 00016 // 00017 // You should have received a copy of the GNU Lesser General Public 00018 // License along with GPSTk; if not, write to the Free Software Foundation, 00019 // Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00020 // 00021 // Copyright 2008, The University of Texas at Austin 00022 // 00023 //============================================================================ 00024 00030 #ifndef GPSTK_BINEXSTREAM_HPP 00031 #define GPSTK_BINEXSTREAM_HPP 00032 00033 #include "FFBinaryStream.hpp" 00034 00035 namespace gpstk 00036 { 00039 00049 class BinexStream : public FFBinaryStream 00050 { 00051 public: 00053 virtual ~BinexStream() {} 00054 00056 BinexStream() {} 00057 00061 BinexStream(const char* fn, 00062 std::ios::openmode mode=std::ios::in | std::ios::binary) 00063 : FFBinaryStream(fn, mode) {}; 00064 00066 virtual void 00067 open(const char* fn, std::ios::openmode mode) 00068 { 00069 FFBinaryStream::open(fn, mode); 00070 } 00071 }; 00072 00074 00075 } // namespace gpstk 00076 00077 #endif // GPSTK_BINEXSTREAM_HPP
1.3.9.1