BinexFilterOperators.hpp

Go to the documentation of this file.
00001 #pragma ident "$Id: BinexFilterOperators.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_BINEXFILTEROPERATORS_HPP
00031 #define GPSTK_BINEXFILTEROPERATORS_HPP
00032 
00033 #include "DayTime.hpp"
00034 #include "FileFilter.hpp"
00035 #include "BinexData.hpp"
00036 
00037 #include <set>
00038 
00039 namespace gpstk
00040 {
00043 
00044    typedef std::binary_function<BinexData, BinexData, bool> BinexDataBinaryOperator;
00045 
00046 
00048    struct BinexDataOperatorEquals : 
00049       public BinexDataBinaryOperator
00050    {
00051    public:
00052       bool operator()(const BinexData& l,
00053                       const BinexData& r) const
00054          {
00055             return (l == r);
00056          }
00057    };
00058 
00060 
00061 }
00062 
00063 #endif // GPSTK_BINEXFILTEROPERATORS_HPP

Generated on Thu Feb 9 03:30:54 2012 for GPS ToolKit Software Library by  doxygen 1.3.9.1