StdAir Logo  1.00.16
C++ Standard Airline IT Object Library
Loading...
Searching...
No Matches
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#include <soci/soci.h>
9
10// Forward declarations
11namespace stdair {
12 struct AirlineStruct;
13}
14
15namespace soci {
16
20 template <>
21 struct type_conversion<stdair::AirlineStruct> {
22
23 typedef values base_type;
24
26 static void from_base (values const& iAirlineValues,
27 indicator /* ind */,
28 stdair::AirlineStruct& ioAirline);
29
30
32 static void to_base (const stdair::AirlineStruct& iAirline,
33 values& ioAirlineValues,
34 indicator& ioIndicator);
35 };
36}
37#endif // __STDAIR_DBA_DBAAIRLINE_HPP
Handle on the StdAir library context.