Oracle ODB Runtime Library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
version.hxx
Go to the documentation of this file.
1 // file : odb/oracle/version.hxx
2 // copyright : Copyright (c) 2005-2013 Code Synthesis Tools CC
3 // license : ODB NCUEL; see accompanying LICENSE file
4 
5 #ifndef ODB_ORACLE_VERSION_HXX
6 #define ODB_ORAClE_VERSION_HXX
7 
8 #include <odb/pre.hxx>
9 
10 #include <odb/oracle/details/config.hxx>
11 #include <odb/version.hxx>
12 
13 // Version format is AABBCCDD where
14 //
15 // AA - major version number
16 // BB - minor version number
17 // CC - bugfix version number
18 // DD - alpha / beta (DD + 50) version number
19 //
20 // When DD is not 00, 1 is subtracted from AABBCC. For example:
21 //
22 // Version AABBCCDD
23 // 2.0.0 02000000
24 // 2.1.0 02010000
25 // 2.1.1 02010100
26 // 2.2.0.a1 02019901
27 // 3.0.0.b2 02999952
28 //
29 
30 // Check that we have compatible ODB version.
31 //
32 #if ODB_VERSION != 20300
33 # error incompatible odb interface version detected
34 #endif
35 
36 // libodb-oracle version: odb interface version plus the bugfix
37 // version.
38 //
39 #define LIBODB_ORACLE_VERSION 2030000
40 #define LIBODB_ORACLE_VERSION_STR "2.3.0"
41 
42 #include <odb/post.hxx>
43 
44 #endif // ODB_ORACLE_VERSION_HXX