20 #ifndef DBALLE_CMDLINE_DBADB_H
21 #define DBALLE_CMDLINE_DBADB_H
25 #include <dballe/cmdline/processor.h>
50 const char* parse_op_report(DB& db,
const char* name=NULL);
72 int do_import(
const std::list<std::string>& fnames,
Reader& reader,
int import_flags=0,
const char* forced_repmemo=NULL);
75 int do_import(
const std::string& fname,
Reader& reader,
int import_flags=0,
const char* forced_repmemo=NULL);
78 int do_export(
const Record& query,
File& file,
const char* output_template=NULL,
const char* forced_repmemo=NULL);
int do_export_dump(const Record &query, FILE *out)
Export messages and dump their contents to the given file descriptor.
int do_export(const Record &query, File &file, const char *output_template=NULL, const char *forced_repmemo=NULL)
Export messages writing them to the givne file.
Definition: processor.h:153
File I/O for files containing meterorological messages.
DB-All.E record.
Definition: record.h:102
int do_import(const std::list< std::string > &fnames, Reader &reader, int import_flags=0, const char *forced_repmemo=NULL)
Import the given files.
int do_stations(const Record &query, FILE *out)
Query stations in the database and output results as arbitrary human readable text.
Implement a storage object for a group of related observation data.
int do_dump(const Record &query, FILE *out)
Query data in the database and output results as arbitrary human readable text.