0.45.1
C++ Standard Airline IT Object Library
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
stdair_inventory_types.hpp
Go to the documentation of this file.
1
#ifndef __STDAIR_STDAIR_INVENTORY_TYPES_HPP
2
#define __STDAIR_STDAIR_INVENTORY_TYPES_HPP
3
4
// //////////////////////////////////////////////////////////////////////
5
// Import section
6
// //////////////////////////////////////////////////////////////////////
7
// STL
8
#include <string>
9
#include <vector>
10
#include <map>
11
#include <list>
12
// BOOST
13
#include <boost/multi_array.hpp>
14
// StdAir
15
#include <
stdair/stdair_basic_types.hpp
>
16
#include <
stdair/stdair_maths_types.hpp
>
17
#include <
stdair/stdair_date_time_types.hpp
>
18
19
namespace
stdair {
20
21
// //////// Type definitions /////////
23
typedef
std::string
NetworkID_T
;
24
26
typedef
std::vector<AirlineCode_T>
AirlineCodeList_T
;
27
29
typedef
std::vector<ClassList_String_T>
ClassList_StringList_T
;
30
32
typedef
std::vector<ClassCode_T>
ClassCodeList_T
;
33
37
typedef
unsigned
short
SubclassCode_T
;
38
40
typedef
std::string
FlightPathCode_T
;
41
44
typedef
std::map<CabinCode_T, ClassList_String_T>
CabinBookingClassMap_T
;
45
48
typedef
double
CabinCapacity_T
;
49
51
typedef
double
NbOfFlightDates_T
;
52
54
typedef
double
CommittedSpace_T
;
55
57
typedef
double
UPR_T
;
58
60
typedef
double
BookingLimit_T
;
61
63
typedef
double
AuthorizationLevel_T
;
64
66
typedef
double
CapacityAdjustment_T
;
67
69
typedef
double
BlockSpace_T
;
70
72
typedef
bool
AvailabilityStatus_T
;
73
75
typedef
std::vector<Availability_T>
BucketAvailabilities_T
;
76
78
typedef
double
NbOfYields_T
;
79
81
typedef
double
NbOfInventoryControlRules_T
;
82
84
typedef
bool
CensorshipFlag_T
;
85
87
typedef
short
DTD_T
;
88
90
typedef
short
DCP_T
;
91
93
typedef
std::list<DCP_T>
DCPList_T
;
94
96
typedef
std::map<DTD_T, RealNumber_T>
DTDFratMap_T
;
97
99
typedef
std::map<FloatDuration_T, float>
DTDProbMap_T
;
100
103
typedef
std::vector<CensorshipFlag_T>
CensorshipFlagList_T
;
104
107
typedef
double
BookingRatio_T
;
108
110
typedef
double
Yield_T
;
111
113
typedef
unsigned
int
YieldLevel_T
;
114
116
typedef
std::map<YieldLevel_T, MeanStdDevPair_T>
YieldLevelDemandMap_T
;
117
119
typedef
std::pair<Yield_T, MeanStdDevPair_T>
YieldDemandPair_T
;
120
122
typedef
double
BidPrice_T
;
123
125
typedef
std::vector<BidPrice_T>
BidPriceVector_T
;
126
128
typedef
unsigned
int
SeatIndex_T
;
129
131
typedef
std::string
ControlMode_T
;
132
134
typedef
double
OverbookingRate_T
;
135
138
typedef
double
BookingLimit_T
;
139
142
typedef
double
ProtectionLevel_T
;
143
145
typedef
std::vector<double>
EmsrValueList_T
;
146
149
typedef
std::vector<double>
BookingLimitVector_T
;
150
153
typedef
std::vector<double>
ProtectionLevelVector_T
;
154
156
typedef
boost::multi_array<double, 2>
SnapshotBlock_T
;
157
159
typedef
SnapshotBlock_T::index_range
SnapshotBlockRange_T
;
160
162
typedef
SnapshotBlock_T::array_view<1>::type
SegmentCabinDTDSnapshotView_T
;
163
165
typedef
SnapshotBlock_T::array_view<2>::type
SegmentCabinDTDRangeSnapshotView_T
;
166
168
typedef
SnapshotBlock_T::const_array_view<1>::type
ConstSegmentCabinDTDSnapshotView_T
;
169
171
typedef
SnapshotBlock_T::const_array_view<2>::type
ConstSegmentCabinDTDRangeSnapshotView_T
;
172
174
typedef
unsigned
short
BlockNumber_T
;
175
177
typedef
unsigned
short
BlockIndex_T
;
178
179
}
180
#endif // __STDAIR_STDAIR_INVENTORY_TYPES_HPP
Generated on Mon Aug 27 2012 21:34:06 for StdAir by
1.8.1.2