1.00.0
C++ Simulated Airline Inventory Management System library
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
FlightDateHelper.hpp
Go to the documentation of this file.
1
#ifndef __AIRINV_BOM_FLIGHTDATEHELPER_HPP
2
#define __AIRINV_BOM_FLIGHTDATEHELPER_HPP
3
4
// //////////////////////////////////////////////////////////////////////
5
// Import section
6
// //////////////////////////////////////////////////////////////////////
7
// StdAir
8
#include <stdair/stdair_basic_types.hpp>
9
10
// Forward declarations
11
namespace
stdair {
12
class
FlightDate;
13
}
14
15
namespace
AIRINV {
16
19
class
FlightDateHelper
{
20
public
:
21
// ////////// Business Methods /////////
24
static
void
fillFromRouting
(
const
stdair::FlightDate&);
25
27
static
void
updateAvailability
(
const
stdair::FlightDate&,
28
const
stdair::SegmentCabin&,
29
const
stdair::PartySize_T& iNbOfBookings);
30
33
static
void
updateAvailabilityPool
(
const
stdair::FlightDate&,
34
const
stdair::CabinCode_T&);
35
38
static
void
recalculateAvailability
(
const
stdair::FlightDate&,
39
const
stdair::CabinCode_T&);
40
42
static
void
updateBookingControls
(stdair::FlightDate&);
43
46
static
void
recalculateAvailability
(
const
stdair::FlightDate&);
47
};
48
49
}
50
#endif // __AIRINV_BOM_FLIGHTDATEHELPER_HPP
Generated on Tue Dec 25 2012 22:19:41 for AirInv by
1.8.1.1