libdballe 9.6
fwd.h
1#ifndef DBALLE_FWD_H
2#define DBALLE_FWD_H
3
4#include <limits.h>
5
6namespace dballe {
7
9enum class Encoding {
10 BUFR = 0,
11 CREX = 1,
12 JSON = 2,
13};
14
16enum class MessageType {
17 GENERIC = 1,
18 SYNOP = 2,
19 PILOT = 3,
20 TEMP = 4,
21 TEMP_SHIP = 5,
22 AIREP = 6,
23 AMDAR = 7,
24 ACARS = 8,
25 SHIP = 9,
26 BUOY = 10,
27 METAR = 11,
28 SAT = 12,
29 POLLUTION = 13,
30};
31
35static constexpr int MISSING_INT = INT_MAX;
36
37// Types
38struct Date;
39struct Time;
40struct Datetime;
41struct DatetimeRange;
42struct Coords;
43struct LatRange;
44struct LonRange;
45struct Level;
46struct Trange;
47struct Ident;
48struct Station;
49struct DBStation;
50
51struct Value;
52struct DBValue;
53
54// Aggregates
55struct Values;
56struct DBValues;
57struct Data;
58struct Query;
59struct Message;
60
61// File
62struct File;
63struct BinaryMessage;
64
65// Importer
66struct ImporterOptions;
67struct Importer;
68
69// Exporter
70struct ExporterOptions;
71struct Exporter;
72
73struct DB;
74struct DBConnectOptions;
75struct DBImportOptions;
76struct DBInsertOptions;
77struct Transaction;
78struct Cursor;
79struct CursorStation;
80struct CursorStationData;
81struct CursorData;
82struct CursorSummary;
83struct CursorMessage;
84
85namespace db {
86
90enum class Format {
91 V5 = 0, // Deprecated (add C++14 attributes when possible)
92 V6 = 1, // Deprecated (add C++14 attributes when possible)
93 MEM = 2, // Deprecated (add C++14 attributes when possible)
94 MESSAGES = 3, // Deprecated (add C++14 attributes when possible)
95 V7 = 4,
96};
97
98}
99
100}
101
102#endif
103