23 #include "commonapi.h" 48 STATE_VOGLIOQUESTO = 4,
68 std::vector<wreport::Var*>
vars;
89 bool readNextMessage();
96 bool incrementMsgIters();
117 MsgAPI(
const char* fname,
const char* mode,
const char* type);
120 virtual void scopa(
const char* repinfofile = 0);
122 virtual int quantesono();
123 virtual void elencamele();
125 virtual int voglioquesto();
126 virtual const char* dammelo();
128 virtual void prendilo();
129 virtual void dimenticami();
131 virtual int voglioancora();
133 virtual void critica();
134 virtual void scusa();
135 virtual void remove_all();
136 virtual void messages_open_input(
const char* filename,
const char* mode,
File::Encoding format,
bool);
137 virtual void messages_open_output(
const char* filename,
const char* mode,
File::Encoding format);
138 virtual bool messages_read_next();
139 virtual void messages_write_next(
const char*);
Encoding
Supported encodings.
Definition: file.h:20
std::vector< wreport::Var * > vars
Last variables written with prendilo.
Definition: msgapi.h:68
Trange vars_trange
Time range for vars.
Definition: msgapi.h:72
Level vars_level
Level for vars.
Definition: msgapi.h:70
Storage for related physical data.
Definition: msg.h:133
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
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
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
Ordered collection of messages.
Definition: message.h:64
Messages * msgs
Message being written.
Definition: msgapi.h:64
Definition: conversion.h:6
Message exporter.
Definition: codec.h:104
std::string exporter_template
Template selected for exporter (empty if auto detect)
Definition: msgapi.h:62
int cached_cat
Category set for the message that we are writing.
Definition: msgapi.h:77
File object for doing I/O on binary message streams.
Definition: file.h:17