libdballe  7.21
db/defs.h
1 #ifndef DBALLE_DB_DEFS_H
2 #define DBALLE_DB_DEFS_H
3 
4 #include <wreport/error.h>
5 #include <wreport/varinfo.h>
6 #include <vector>
7 
12 /* Import the attributes. */
13 #define DBA_IMPORT_ATTRS 1
14 /* Attempt to merge pseudoana extra information into the existing ones. */
15 #define DBA_IMPORT_FULL_PSEUDOANA 2
16 /* Message data will overwrite existing values; otherwise, trying to insert
17  * existing data will cause an error. */
18 #define DBA_IMPORT_OVERWRITE 8
19 
21 namespace dballe {
22 namespace db {
23 
27 typedef enum {
28  V5 = 0,
29  V6 = 1,
30  MEM = 2,
31  MESSAGES = 3,
32  V7 = 4,
33 } Format;
34 
38 typedef std::vector<wreport::Varcode> AttrList;
39 
40 }
41 }
42 #endif
Copyright (C) 2008–2010 ARPA-SIM urpsim@smr.arpa.emr.it
Definition: cmdline.h:17