23 #include "commonapi.h"
48 STATE_VOGLIOQUESTO = 4,
68 std::vector<wreport::Var*>
vars;
117 MsgAPI(
const char* fname,
const char* mode,
const char* type);
120 virtual void scopa(
const char* repinfofile = 0);
134 virtual void scusa();
Encoding
Supported encodings.
Definition: file.h:20
std::vector< wreport::Var * > vars
Last variables written with prendilo.
Definition: msgapi.h:68
virtual void critica()
Insert new QC informations for a variable of the current record.
virtual void messages_open_input(const char *filename, const char *mode, File::Encoding format, bool)
Open a BUFR/CREX/AOF file for reading.
Trange vars_trange
Time range for vars.
Definition: msgapi.h:72
virtual void messages_write_next(const char *)
Export the currently selected data to the output message.
Level vars_level
Level for vars.
Definition: msgapi.h:70
virtual void elencamele()
Iterate through the anagraphical data.
Storage for related physical data.
Definition: msg.h:133
virtual void remove_all()
Remove all data from the database.
Common implementation of the set* and enq* machinery using input and output records.
Definition: commonapi.h:14
unsigned int state
State flag to track what actions have been performed in order to decide what to do next...
Definition: msgapi.h:56
MsgAPI(const char *fname, const char *mode, const char *type)
Information on how a value has been sampled or computed with regards to time.
Definition: types.h:565
Message importer.
Definition: codec.h:32
Copyright (C) 2008–2010 ARPA-SIM urpsim@smr.arpa.emr.it
Definition: cmdline.h:17
msg::Importer * importer
Importer (NULL if we export)
Definition: msgapi.h:58
msg::Exporter * exporter
Exporter (NULL if we import)
Definition: msgapi.h:60
Vertical level or layer.
Definition: types.h:515
virtual void dimenticami()
Remove all selected items from the database.
Msg * wmsg
Message subset being written.
Definition: msgapi.h:66
int cached_lcat
Local category set for the message that we are writing.
Definition: msgapi.h:81
int cached_subcat
Subcategory set for the message that we are writing.
Definition: msgapi.h:79
virtual void messages_open_output(const char *filename, const char *mode, File::Encoding format)
Open a BUFR/CREX/AOF file for writing.
bool readNextMessage()
Read the next message.
Msg * curmsg()
Get a pointer to the current message being read or written.
virtual bool messages_read_next()
Read the next message and import it in the database.
Ordered collection of messages.
Definition: message.h:64
Messages * msgs
Message being written.
Definition: msgapi.h:64
virtual int voglioancora()
Retrieve QC informations from the last variable returned by dammelo().
Definition: conversion.h:6
virtual void scusa()
Remove QC informations for a variable of the current record.
virtual void prendilo()
Insert a new item in the database.
virtual const char * dammelo()
Iterate through the query results data.
Message exporter.
Definition: codec.h:104
virtual int voglioquesto()
Submit a query to the database.
std::string exporter_template
Template selected for exporter (empty if auto detect)
Definition: msgapi.h:62
virtual void scopa(const char *repinfofile=0)
Reset the database contents, loading default report informations from a file.
int cached_cat
Category set for the message that we are writing.
Definition: msgapi.h:77
virtual int quantesono()
Count the number of elements in the anagraphical storage, and start a new anagraphical query...
bool incrementMsgIters()
Increment message iterators.
File object for doing I/O on binary message streams.
Definition: file.h:17