00001 #pragma ident "$Id: FICAStream.hpp 70 2006-08-01 18:36:21Z ehagen $" 00002 00003 00004 00010 //============================================================================ 00011 // 00012 // This file is part of GPSTk, the GPS Toolkit. 00013 // 00014 // The GPSTk is free software; you can redistribute it and/or modify 00015 // it under the terms of the GNU Lesser General Public License as published 00016 // by the Free Software Foundation; either version 2.1 of the License, or 00017 // any later version. 00018 // 00019 // The GPSTk is distributed in the hope that it will be useful, 00020 // but WITHOUT ANY WARRANTY; without even the implied warranty of 00021 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00022 // GNU Lesser General Public License for more details. 00023 // 00024 // You should have received a copy of the GNU Lesser General Public 00025 // License along with GPSTk; if not, write to the Free Software Foundation, 00026 // Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00027 // 00028 // Copyright 2004, The University of Texas at Austin 00029 // 00030 //============================================================================ 00031 00032 //============================================================================ 00033 // 00034 //This software developed by Applied Research Laboratories at the University of 00035 //Texas at Austin, under contract to an agency or agencies within the U.S. 00036 //Department of Defense. The U.S. Government retains all rights to use, 00037 //duplicate, distribute, disclose, or release this software. 00038 // 00039 //Pursuant to DoD Directive 523024 00040 // 00041 // DISTRIBUTION STATEMENT A: This software has been approved for public 00042 // release, distribution is unlimited. 00043 // 00044 //============================================================================= 00045 00046 00047 00048 00049 00050 00051 #ifndef FICASTREAM_HPP 00052 #define FICASTREAM_HPP 00053 00054 #include "FICStreamBase.hpp" 00055 #include "FFTextStream.hpp" 00056 00057 namespace gpstk 00058 { 00066 class FICAStream : public FICStreamBase, public FFTextStream 00067 { 00068 public: 00070 FICAStream() {} 00071 00077 FICAStream(const char* fn, 00078 std::ios::openmode mode=std::ios::in) 00079 : FFTextStream(fn, mode) 00080 {} 00081 00083 virtual ~FICAStream() {} 00084 00086 virtual void open(const char* fn, std::ios::openmode mode) 00087 { FFTextStream::open(fn, mode); FICStreamBase::open(); } 00088 00089 }; // class FICStream 00090 } // namespace gpstk 00091 00092 #endif
1.3.9.1