38 MYSQLIO(
const std::string& configfile);
43 std::vector< std::vector<MeteoData> >& vecMeteo);
47 std::vector<std::string> readStationIDs()
const;
48 void readStationMetaData();
49 void readData(
const Date& dateStart,
const Date& dateEnd, std::vector< std::vector<MeteoData> >& vecMeteo,
50 const size_t& stationindex)
const;
53 std::vector<std::string> vecStationIDs;
54 std::vector<StationData> vecStationMetaData;
55 std::string mysqlhost, mysqldb, mysqluser, mysqlpass;
56 std::string coordin, coordinparam, coordout, coordoutparam;
57 double in_dflt_TZ, out_dflt_TZ;
58 unsigned int mysql_options;
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 to handle timestamps. This class handles conversion between different time display formats (I...
Definition: Date.h:87
A class representing the IO Layer of the software Alpine3D. For each type of IO (File,...
Definition: IOInterface.h:98
virtual void readStationData(const Date &date, std::vector< StationData > &vecStation)
Fill vecStation with StationData objects for a certain date of interest.
Definition: MySQLIO.cc:243
virtual void readMeteoData(const Date &dateStart, const Date &dateEnd, std::vector< std::vector< MeteoData > > &vecMeteo)
Fill vecMeteo with a time series of objects corresponding to the interval indicated by dateStart and ...
Definition: MySQLIO.cc:251
MYSQLIO(const std::string &configfile)
Definition: MySQLIO.cc:133