IODA Bundle
Filter.h
Go to the documentation of this file.
1 /*
2  * (C) Copyright 2020 NOAA/NWS/NCEP/EMC
3  *
4  * This software is licensed under the terms of the Apache Licence Version 2.0
5  * which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.
6  */
7 #pragma once
8 
9 #include "IngesterTypes.h"
10 #include "BufrParser/BufrTypes.h"
11 
12 
13 namespace Ingester
14 {
15  /// \brief Base class for all the supported filters.
16  class Filter
17  {
18  public:
19  /// \brief Apply the filter to the data
20  /// \param dataMap Map to modify by filtering out relevant data.
21  virtual void apply(BufrDataMap& dataMap) = 0;
22  };
23 } // namespace Ingester
Base class for all the supported filters.
Definition: Filter.h:17
virtual void apply(BufrDataMap &dataMap)=0
Apply the filter to the data.
IngesterArrayMap BufrDataMap
Definition: BufrTypes.h:21