19#ifndef PROCESSINGSTACK_H
20#define PROCESSINGSTACK_H
42 virtual ~ProcessingStack() {
for (
size_t ii=0; ii<filter_stack.size(); ii++)
delete filter_stack[ii];}
44 void process(
const std::vector< std::vector<MeteoData> >& ivec,
45 std::vector< std::vector<MeteoData> >& ovec,
const bool& second_pass=
false);
52 virtual bool applyFilter(
const size_t& param,
const size_t& jj,
const std::vector<MeteoData>& ivec, std::vector<MeteoData> &ovec);
53 virtual bool filterStation(std::vector<MeteoData> ivec, std::vector< std::vector<MeteoData> >& ovec,
const bool& second_pass,
const size_t& stat_idx);
55 std::vector<ProcessingBlock*> filter_stack;
56 const std::string param_name;
A class that reads a key/value file. These files (typically named *.ini) follow the INI file format s...
Definition: Config.h:79
Definition: ProcessingBlock.h:36
This builds and runs through a filter stack for filtering a given parameter.
Definition: ProcessingStack.h:36
ProcessingStack(const Config &cfg, const std::string ¶m_name)
Constructor parses cfg and builds up a filter stack for param_name.
Definition: ProcessingStack.cc:30
void getWindowSize(ProcessingProperties &o_properties) const
Definition: ProcessingStack.cc:47
const std::string toString() const
Definition: ProcessingStack.cc:216
void process(const std::vector< std::vector< MeteoData > > &ivec, std::vector< std::vector< MeteoData > > &ovec, const bool &second_pass=false)
Definition: ProcessingStack.cc:201
virtual ~ProcessingStack()
Definition: ProcessingStack.h:42
static const std::string filter_section
Definition: ProcessingStack.h:49
static const std::string arg_pattern
Definition: ProcessingStack.h:49
static const std::string filter_pattern
Definition: ProcessingStack.h:49