1.00.5
C++ Simulated Airline Inventory Management System Library
BasConst.cpp
Go to the documentation of this file.
1
// //////////////////////////////////////////////////////////////////////
2
// Import section
3
// //////////////////////////////////////////////////////////////////////
4
#include <
airinv/basic/BasConst_General.hpp
>
5
#include <
airinv/basic/BasConst_Curves.hpp
>
6
#include <
airinv/basic/BasConst_AIRINV_Service.hpp
>
7
8
namespace
AIRINV
{
9
11
const
std::string
DEFAULT_AIRLINE_CODE
=
"BA"
;
12
14
const
FRAT5Curve_T
DEFAULT_PICKUP_FRAT5_CURVE
=
15
DefaultMap::createPickupFRAT5Curve
();
16
FRAT5Curve_T
DefaultMap::createPickupFRAT5Curve
() {
17
FRAT5Curve_T
oCurve;
18
oCurve[365] = 1.1; oCurve[63] = 1.2;
19
oCurve[49] = 1.3; oCurve[35] = 1.4;
20
oCurve[23] = 1.7; oCurve[16] = 2.0;
21
oCurve[10] = 2.3; oCurve[5] = 2.44;
22
oCurve[1] = 2.5; oCurve[0] = 2.5;
23
24
return
oCurve;
25
};
26
27
}
AIRINV::DefaultMap::createPickupFRAT5Curve
static FRAT5Curve_T createPickupFRAT5Curve()
Definition:
BasConst.cpp:16
AIRINV::DEFAULT_PICKUP_FRAT5_CURVE
const FRAT5Curve_T DEFAULT_PICKUP_FRAT5_CURVE
Definition:
BasConst.cpp:14
BasConst_Curves.hpp
AIRINV::FRAT5Curve_T
std::map< const stdair::DTD_T, double > FRAT5Curve_T
Definition:
AIRINV_Types.hpp:227
AIRINV
Definition:
AIRINV_Master_Service.hpp:38
BasConst_General.hpp
BasConst_AIRINV_Service.hpp
AIRINV::DEFAULT_AIRLINE_CODE
const std::string DEFAULT_AIRLINE_CODE
Definition:
BasConst.cpp:11
Generated on Sun Aug 9 2020 00:00:00 for AirInv by
1.8.18