1 #ifndef WREPORT_BUFFERS_CREX_H
2 #define WREPORT_BUFFERS_CREX_H
63 CrexInput(
const std::string& in,
const char* fname,
size_t offset);
82 void check_eof(const
char* expected) const;
140 void parse_value(
int len,
int is_signed, const
char** d_start, const
char** d_end);
167 CrexOutput(std::string& buf);
170 void raw_append(
const char* str,
int len);
173 void raw_appendf(
const char* fmt, ...) __attribute__ ((format(printf, 2, 3)));
176 void encode_check_digit();
179 void append_missing(
Varinfo info);
182 void append_var(
Varinfo info, const
Var& var);
A physical variable.
Definition: var.h:23
int expected_check_digit
Value of the next expected check digit.
Definition: crex.h:158
Information about a variable.
Definition: varinfo.h:135
Text output buffer.
Definition: crex.h:149
std::string & buf
String we append to.
Definition: crex.h:152
String functions.
Definition: benchmark.h:13
Implement fast access to information about WMO variables.
#define WREPORT_THROWF_ATTRS(a, b)
Tell the compiler that a function always throws and expects printf-style arguments.
Definition: error.h:56
int has_check_digit
True if the CREX message uses the check digit feature.
Definition: crex.h:155