22 #ifndef DBALLE_DB_SQL_STATION_H 23 #define DBALLE_DB_SQL_STATION_H 62 virtual int get_id(
int lat,
int lon,
const char* ident=NULL) = 0;
72 virtual int obtain_id(
int lat,
int lon,
const char* ident=NULL,
bool* inserted=NULL) = 0;
77 virtual void dump(FILE* out) = 0;
82 virtual void get_station_vars(
int id_station,
int id_report, std::function<
void(std::unique_ptr<wreport::Var>)> dest) = 0;
90 virtual void add_station_vars(
int id_station,
Record& rec) = 0;
Key/value store where keys are strings and values are wreport variables.
Definition: record.h:16
Copyright (C) 2008–2010 ARPA-SIM urpsim@smr.arpa.emr.it
Definition: cmdline.h:17
Definition: db/sql/station.h:46
Definition: conversion.h:6