StdAir Logo  0.45.1
C++ Standard Airline IT Object Library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
DbaAirline.hpp
Go to the documentation of this file.
00001 #ifndef __STDAIR_DBA_DBAAIRLINE_HPP
00002 #define __STDAIR_DBA_DBAAIRLINE_HPP
00003 
00004 // //////////////////////////////////////////////////////////////////////
00005 // Import section
00006 // //////////////////////////////////////////////////////////////////////
00007 // SOCI
00008 #if defined(SOCI_HEADERS_BURIED)
00009 #include <soci/core/soci.h>
00010 #else // SOCI_HEADERS_BURIED
00011 #include <soci/soci.h>
00012 #endif // SOCI_HEADERS_BURIED
00013 
00014 // Forward declarations
00015 namespace stdair {
00016   struct AirlineStruct;
00017 }
00018 
00019 namespace soci {
00020 
00024   template <>
00025   struct type_conversion<stdair::AirlineStruct> {
00026 
00027     typedef values base_type;
00028 
00030     static void from_base (values const& iAirlineValues,
00031                            indicator /* ind */,
00032                            stdair::AirlineStruct& ioAirline);
00033 
00034 
00036     static void to_base (const stdair::AirlineStruct& iAirline,
00037                          values& ioAirlineValues,
00038                          indicator& ioIndicator);
00039   };
00040 }
00041 #endif // __STDAIR_DBA_DBAAIRLINE_HPP