FICStream.hpp

Go to the documentation of this file.
00001 #pragma ident "$Id: FICStream.hpp 3140 2012-06-18 15:03:02Z susancummins $"
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., 51 Franklin Street, Fifth Floor, Boston, MA 02110, 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 FICSTREAM_HPP
00052 #define FICSTREAM_HPP
00053 
00054 #include <vector>
00055 #include <map>
00056 
00057 #include "FICStreamBase.hpp"
00058 #include "FFBinaryStream.hpp"
00059 #include "FICHeader.hpp"
00060 
00061 namespace gpstk
00062 {
00070    class FICStream : public FFBinaryStream, public FICStreamBase
00071    {
00072    public:
00074       FICStream() {}
00075 
00081       FICStream(const char* fn,
00082                 std::ios::openmode mode=std::ios::in|std::ios::binary)
00083             : FFBinaryStream(fn, mode)
00084          {}
00085 
00087       virtual ~FICStream() {}
00088 
00090       virtual void open(const char* fn, std::ios::openmode mode)
00091          { FFBinaryStream::open(fn, mode); FICStreamBase::open(); }
00092 
00093    }; // class FICStream
00094 } // namespace gpstk
00095 
00096 #endif

Generated on Tue May 21 03:31:08 2013 for GPS ToolKit Software Library by  doxygen 1.3.9.1