29 STATE_VOGLIOQUESTO = 4,
49 std::vector<wreport::Var*>
vars;
70 bool readNextMessage();
77 bool incrementMsgIters();
98 MsgAPI(
const char* fname,
const char* mode,
const char* type);
101 virtual void scopa(
const char* repinfofile = 0);
103 virtual int quantesono();
104 virtual void elencamele();
106 virtual int voglioquesto();
107 virtual const char* dammelo();
109 virtual void prendilo();
110 virtual void dimenticami();
112 virtual int voglioancora();
114 virtual void critica();
115 virtual void scusa();
116 virtual void remove_all();
117 virtual void messages_open_input(
const char* filename,
const char* mode,
File::Encoding format,
bool);
118 virtual void messages_open_output(
const char* filename,
const char* mode,
File::Encoding format);
119 virtual bool messages_read_next();
120 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:49
Trange vars_trange
Time range for vars.
Definition: msgapi.h:53
Level vars_level
Level for vars.
Definition: msgapi.h:51
Storage for related physical data.
Definition: msg.h:70
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:37
Information on how a value has been sampled or computed with regards to time.
Definition: types.h:587
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:39
msg::Exporter * exporter
Exporter (NULL if we import)
Definition: msgapi.h:41
Vertical level or layer.
Definition: types.h:532
Msg * wmsg
Message subset being written.
Definition: msgapi.h:47
int cached_lcat
Local category set for the message that we are writing.
Definition: msgapi.h:62
int cached_subcat
Subcategory set for the message that we are writing.
Definition: msgapi.h:60
Ordered collection of messages.
Definition: message.h:67
Messages * msgs
Message being written.
Definition: msgapi.h:45
Message exporter.
Definition: codec.h:104
std::string exporter_template
Template selected for exporter (empty if auto detect)
Definition: msgapi.h:43
int cached_cat
Category set for the message that we are writing.
Definition: msgapi.h:58
File object for doing I/O on binary message streams.
Definition: file.h:17