23 #include "commonapi.h"
43 InputFile* input_file;
44 OutputFile* output_file;
47 DbAPI(
DB& db,
const char* anaflag,
const char* dataflag,
const char* attrflag);
50 virtual int enqi(
const char* param);
52 virtual void scopa(
const char* repinfofile = 0);
69 virtual void messages_open_input(
const char* filename,
const char* mode, Encoding format,
bool simplified=
true);
virtual bool messages_read_next()
Read the next message and import it in the database.
virtual void scusa()
Remove QC informations for a variable of the current record.
virtual int voglioquesto()
Submit a query to the database.
Common implementation of the set* and enq* machinery using input and output records.
Definition: commonapi.h:35
virtual int quantesono()
Count the number of elements in the anagraphical storage, and start a new anagraphical query...
virtual void prendilo()
Insert a new item in the database.
virtual void messages_open_input(const char *filename, const char *mode, Encoding format, bool simplified=true)
Open a BUFR/CREX/AOF file for reading.
virtual void messages_open_output(const char *filename, const char *mode, Encoding format)
Open a BUFR/CREX/AOF file for writing.
virtual const char * dammelo()
Iterate through the query results data.
virtual void scopa(const char *repinfofile=0)
Reset the database contents, loading default report informations from a file.
virtual void remove_all()
Remove all data from the database.
virtual int voglioancora()
Retrieve QC informations from the last variable returned by dammelo().
virtual void elencamele()
Iterate through the anagraphical data.
virtual void critica()
Insert new QC informations for a variable of the current record.
virtual void messages_write_next(const char *template_name=0)
Export the currently selected data to the output message.
virtual int enqi(const char *param)
Read one integer value from the output record.
virtual void dimenticami()
Remove all selected items from the database.