StdAir Logo  1.00.3
C++ Standard Airline IT Object Library
DbaAirline.hpp
Go to the documentation of this file.
1 #ifndef __STDAIR_DBA_DBAAIRLINE_HPP
2 #define __STDAIR_DBA_DBAAIRLINE_HPP
3 
4 // //////////////////////////////////////////////////////////////////////
5 // Import section
6 // //////////////////////////////////////////////////////////////////////
7 // SOCI
8 #if defined(SOCI_HEADERS_BURIED)
9 #include <soci/core/soci.h>
10 #else // SOCI_HEADERS_BURIED
11 #include <soci/soci.h>
12 #endif // SOCI_HEADERS_BURIED
13 
14 // Forward declarations
15 namespace stdair {
16  struct AirlineStruct;
17 }
18 
19 namespace soci {
20 
24  template <>
25  struct type_conversion<stdair::AirlineStruct> {
26 
27  typedef values base_type;
28 
30  static void from_base (values const& iAirlineValues,
31  indicator /* ind */,
32  stdair::AirlineStruct& ioAirline);
33 
34 
36  static void to_base (const stdair::AirlineStruct& iAirline,
37  values& ioAirlineValues,
38  indicator& ioIndicator);
39  };
40 }
41 #endif // __STDAIR_DBA_DBAAIRLINE_HPP
Handle on the StdAir library context.