libdballe  9.11
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 Station;
49 struct DBStation;
50 
51 struct Value;
52 struct DBValue;
53 
54 // Aggregates
55 struct Values;
56 struct DBValues;
57 struct Data;
58 struct Query;
59 struct Message;
60 
61 // File
62 struct File;
63 struct BinaryMessage;
64 
65 // Importer
66 struct ImporterOptions;
67 struct Importer;
68 
69 // Exporter
70 struct ExporterOptions;
71 struct Exporter;
72 
73 struct DB;
74 struct DBConnectOptions;
75 struct DBImportOptions;
76 struct DBInsertOptions;
77 struct Transaction;
78 struct Cursor;
79 struct CursorStation;
80 struct CursorStationData;
81 struct CursorData;
82 struct CursorSummary;
83 struct CursorMessage;
84 
85 namespace db {
86 
90 enum 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 
Definition: cmdline.h:18