StdAir Logo  1.00.0
C++ Standard Airline IT Object Library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
DBManagerForAirlines.hpp
Go to the documentation of this file.
1 #ifndef __TVLSIM_CMD_DBMANAGERFORAIRLINES_HPP
2 #define __TVLSIM_CMD_DBMANAGERFORAIRLINES_HPP
3 
4 // //////////////////////////////////////////////////////////////////////
5 // Import section
6 // //////////////////////////////////////////////////////////////////////
7 // StdAir
8 #include <stdair/stdair_db.hpp>
10 
11 namespace stdair {
12 
13  // Forward declarations
14  struct AirlineStruct;
15 
19  public:
24  static void updateAirlineInDB (DBSession_T&, const AirlineStruct&);
25 
32  static bool retrieveAirline (DBSession_T&, const AirlineCode_T&,
33  AirlineStruct&);
34 
35 
36  public:
42  AirlineStruct&);
43 
49 
50 
51  private:
57  static void prepareSelectOnAirlineCodeStatement (DBSession_T&,
59  const AirlineCode_T&,
60  AirlineStruct&);
61 
62 
63  private:
64  // /////////////////// Constructors and Destructors //////////////
71  };
72 
73 }
74 #endif // __TVLSIM_CMD_DBMANAGERFORAIRLINES_HPP