1.00.0
C++ Standard Airline IT Object Library
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
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
>
9
#include <
stdair/command/CmdAbstract.hpp
>
10
11
namespace
stdair {
12
13
// Forward declarations
14
struct
AirlineStruct;
15
18
class
DBManagerForAirlines
:
public
CmdAbstract
{
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
:
41
static
void
prepareSelectStatement
(
DBSession_T
&,
DBRequestStatement_T
&,
42
AirlineStruct
&);
43
48
static
bool
iterateOnStatement
(
DBRequestStatement_T
&,
AirlineStruct
&);
49
50
51
private
:
57
static
void
prepareSelectOnAirlineCodeStatement (
DBSession_T
&,
58
DBRequestStatement_T
&,
59
const
AirlineCode_T
&,
60
AirlineStruct
&);
61
62
63
private
:
64
// /////////////////// Constructors and Destructors //////////////
67
DBManagerForAirlines
() {}
68
DBManagerForAirlines
(
const
DBManagerForAirlines
&) {}
70
~
DBManagerForAirlines
() {}
71
};
72
73
}
74
#endif // __TVLSIM_CMD_DBMANAGERFORAIRLINES_HPP
Generated on Sat Dec 22 2012 16:51:54 for StdAir by
1.8.1.1