1 #ifndef __AIRRAC_BOM_YIELDRULESTRUCT_HPP
2 #define __AIRRAC_BOM_YIELDRULESTRUCT_HPP
10 #include <stdair/stdair_basic_types.hpp>
11 #include <stdair/stdair_date_time_types.hpp>
12 #include <stdair/stdair_demand_types.hpp>
13 #include <stdair/stdair_inventory_types.hpp>
14 #include <stdair/basic/StructAbstract.hpp>
15 #include <stdair/basic/BasParserHelperTypes.hpp>
61 return _dateRangeStart;
71 return _timeRangeStart;
85 const stdair::CityCode_T
getPOS ()
const {
111 return _airlineCodeList.size();
116 return _classCodeList.size();
121 return _airlineCodeList;
126 return _classCodeList;
154 _destination = iDestination;
159 _tripType = iTripType;
164 _dateRangeStart = iDateRangeStart;
169 _dateRangeEnd = iDateRangeEnd;
174 _timeRangeStart = iTimeRangeStart;
179 _timeRangeEnd = iTimeRangeEnd;
184 _cabinCode = iCabinCode;
188 void setPOS (
const stdair::CityCode_T& iPOS) {
198 void setYield(
const stdair::YieldValue_T& iYield) {
204 _airlineCode = iAirlineCode;
209 _classCode = iClassCode;
214 _airlineCodeList.clear();
219 _classCodeList.clear();
224 _airlineCodeList.push_back (iAirlineCode);
229 _classCodeList.push_back (iClassCode);
252 stdair::AirportCode_T _origin;
255 stdair::AirportCode_T _destination;
258 stdair::TripType_T _tripType;
261 stdair::Date_T _dateRangeStart;
264 stdair::Date_T _dateRangeEnd;
267 stdair::Duration_T _timeRangeStart;
270 stdair::Duration_T _timeRangeEnd;
273 stdair::YieldValue_T _yield;
276 stdair::CabinCode_T _cabinCode;
279 stdair::CityCode_T _pos;
282 stdair::ChannelLabel_T _channel;
285 stdair::AirlineCode_T _airlineCode;
288 stdair::ClassCode_T _classCode;
291 stdair::AirlineCodeList_T _airlineCodeList;
294 stdair::ClassList_StringList_T _classCodeList;
298 #endif // __AIRRAC_BOM_YIELDRULESTRUCT_HPP