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
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
47
typedef
std::string
CurveKey_T
;
48
51
typedef
double
CabinCapacity_T
;
52
54
typedef
double
NbOfFlightDates_T
;
55
57
typedef
double
CommittedSpace_T
;
58
60
typedef
double
UPR_T
;
61
63
typedef
double
BookingLimit_T
;
64
66
typedef
double
AuthorizationLevel_T
;
67
69
typedef
double
CapacityAdjustment_T
;
70
72
typedef
double
BlockSpace_T
;
73
75
typedef
bool
AvailabilityStatus_T
;
76
78
typedef
std::vector<Availability_T>
BucketAvailabilities_T
;
79
81
typedef
double
NbOfYields_T
;
82
84
typedef
double
NbOfInventoryControlRules_T
;
85
87
typedef
bool
CensorshipFlag_T
;
88
90
typedef
short
DTD_T
;
91
93
typedef
short
DCP_T
;
94
96
typedef
std::list<DCP_T>
DCPList_T
;
97
99
typedef
std::map<DTD_T, RealNumber_T>
DTDFratMap_T
;
100
102
typedef
std::map<FloatDuration_T, float>
DTDProbMap_T
;
103
106
typedef
std::vector<CensorshipFlag_T>
CensorshipFlagList_T
;
107
110
typedef
double
BookingRatio_T
;
111
113
typedef
double
Yield_T
;
114
116
typedef
unsigned
int
YieldLevel_T
;
117
119
typedef
std::map<YieldLevel_T, MeanStdDevPair_T>
YieldLevelDemandMap_T
;
120
122
typedef
std::pair<Yield_T, MeanStdDevPair_T>
YieldDemandPair_T
;
123
125
typedef
double
BidPrice_T
;
126
128
typedef
std::vector<BidPrice_T>
BidPriceVector_T
;
129
131
typedef
unsigned
int
SeatIndex_T
;
132
134
typedef
std::string
ControlMode_T
;
135
137
typedef
double
OverbookingRate_T
;
138
141
typedef
double
BookingLimit_T
;
142
145
typedef
double
ProtectionLevel_T
;
146
148
typedef
std::vector<double>
EmsrValueList_T
;
149
152
typedef
std::vector<double>
BookingLimitVector_T
;
153
156
typedef
std::vector<double>
ProtectionLevelVector_T
;
157
159
typedef
boost::multi_array<double, 2>
SnapshotBlock_T
;
160
162
typedef
SnapshotBlock_T::index_range
SnapshotBlockRange_T
;
163
165
typedef
SnapshotBlock_T::array_view<1>::type
SegmentCabinDTDSnapshotView_T
;
166
168
typedef
SnapshotBlock_T::array_view<2>::type
SegmentCabinDTDRangeSnapshotView_T
;
169
171
typedef
SnapshotBlock_T::const_array_view<1>::type
ConstSegmentCabinDTDSnapshotView_T
;
172
174
typedef
SnapshotBlock_T::const_array_view<2>::type
ConstSegmentCabinDTDRangeSnapshotView_T
;
175
177
typedef
unsigned
short
SegmentDataID_T
;
178
180
typedef
unsigned
short
LegDataID_T
;
181
184
typedef
unsigned
short
ClassIndex_T
;
185
186
}
187
#endif // __STDAIR_STDAIR_INVENTORY_TYPES_HPP
Generated on Sat Dec 22 2012 16:51:54 for StdAir by
1.8.1.1