MeteoIODoc 2.11.0
ZRXPIO.h
Go to the documentation of this file.
1// SPDX-License-Identifier: LGPL-3.0-or-later
2/***********************************************************************************/
3/* Copyright 2019 Avalanche Warning Service Tyrol LWD-TIROL */
4/***********************************************************************************/
5/* This file is part of MeteoIO.
6 MeteoIO is free software: you can redistribute it and/or modify
7 it under the terms of the GNU Lesser General Public License as published by
8 the Free Software Foundation, either version 3 of the License, or
9 (at your option) any later version.
10
11 MeteoIO is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU Lesser General Public License for more details.
15
16 You should have received a copy of the GNU Lesser General Public License
17 along with MeteoIO. If not, see <http://www.gnu.org/licenses/>.
18*/
19
20#ifndef ZRXPIO_H
21#define ZRXPIO_H
22
23#include <string>
24
25#include <meteoio/IOInterface.h>
26
27namespace mio {
28
37class ZRXPIO : public IOInterface {
38 public:
39 ZRXPIO(const std::string& configfile);
40 ZRXPIO(const Config& cfgreader);
41 ZRXPIO(const ZRXPIO&);
42 virtual void writeMeteoData(const std::vector< std::vector<MeteoData> >& vecMeteo,
43 const std::string& name = "");
44
45 private:
46 const Config cfg;
47
48 void checkForUsedParameters(const std::vector<MeteoData>& vecMeteo, std::vector<bool>& vecUsedParams,
49 const size_t& nr_of_params, const bool& output_nodata_params, bool& data_exists);
50};
51
52} //namespace
53
54#endif
A class that reads a key/value file. These files (typically named *.ini) follow the INI file format s...
Definition: Config.h:79
A class representing the IO Layer of the software Alpine3D. For each type of IO (File,...
Definition: IOInterface.h:98
Outputs meteo data in a text format readable by a WISKI database.
Definition: ZRXPIO.h:37
ZRXPIO(const ZRXPIO &)
virtual void writeMeteoData(const std::vector< std::vector< MeteoData > > &vecMeteo, const std::string &name="")
Output-routine to ASCII on file system.
Definition: ZRXPIO.cc:178
ZRXPIO(const std::string &configfile)
Plugin constructor taking a configfile and doing nothing else.
Definition: ZRXPIO.cc:159
Definition: Config.cc:31