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