libdballe  7.6
Public Member Functions
dballe::db::sqlite::SQLiteStationV6 Class Reference
Inheritance diagram for dballe::db::sqlite::SQLiteStationV6:
dballe::db::sqlite::SQLiteStationBase dballe::db::sql::Station

Public Member Functions

 SQLiteStationV6 (SQLiteConnection &conn)
 
- Public Member Functions inherited from dballe::db::sqlite::SQLiteStationBase
 SQLiteStationBase (SQLiteConnection &conn)
 
 SQLiteStationBase (const SQLiteStationBase &)=delete
 
 SQLiteStationBase (const SQLiteStationBase &&)=delete
 
SQLiteStationBaseoperator= (const SQLiteStationBase &)=delete
 
int get_id (int lat, int lon, const char *ident=nullptr) override
 Get the station ID given latitude, longitude and mobile identifier. More...
 
int obtain_id (int lat, int lon, const char *ident=nullptr, bool *inserted=NULL) override
 Get the station ID given latitude, longitude and mobile identifier. More...
 
void get_station_vars (int id_station, int id_report, std::function< void(std::unique_ptr< wreport::Var >)> dest) override
 Export station variables.
 
void add_station_vars (int id_station, Record &rec) override
 Add all station variables (without attributes) to rec. More...
 
void dump (FILE *out) override
 Dump the entire contents of the table to an output stream.
 
- Public Member Functions inherited from dballe::db::sql::Station
virtual ~Station ()
 Instantiate a Station object for this connection.
 

Additional Inherited Members

- Protected Member Functions inherited from dballe::db::sqlite::SQLiteStationBase
bool maybe_get_id (int lat, int lon, const char *ident, int *id)
 Lookup the ID of a station, returning true if it was found, false if not.
 
void read_station_vars (SQLiteStatement &stm, std::function< void(std::unique_ptr< wreport::Var >)> dest)
 Run stm, read its output and generate variables to send to dest.
 
- Protected Attributes inherited from dballe::db::sqlite::SQLiteStationBase
SQLiteConnectionconn
 DB connection.
 
SQLiteStatementsfstm = nullptr
 Precompiled select fixed station query.
 
SQLiteStatementsmstm = nullptr
 Precompiled select mobile station query.
 
SQLiteStatementistm = nullptr
 Precompiled insert query.
 

The documentation for this class was generated from the following file: