23 OnDDate::OnDDate (
const OnDDate& iOnDDate)
24 : _key (iOnDDate.getKey()), _parent (NULL) {
28 OnDDate::OnDDate (
const Key_T& iKey)
29 : _key (iKey), _parent (NULL) {
38 std::ostringstream oStr;
47 assert (lInventory_ptr != NULL);
55 std::ostringstream oStr;
56 for(CabinClassPairList_T::const_iterator itCCP = iCabinClassPairList.begin();
57 itCCP != iCabinClassPairList.end(); ++itCCP) {
58 oStr << itCCP->first <<
":" << itCCP->second <<
";";
60 std::string lCabinClassPath = oStr.str();
61 StringDemandStructMap_T::iterator it =
71 it->second = iYieldDemandPair;
79 CabinForecastMap_T::iterator it =
const AirlineCode_T & getAirlineCode() const
std::pair< std::string, CabinClassPairList_T > StringCabinClassPair_T
std::pair< CabinCode_T, WTPDemandPair_T > CabinForecastPair_T
std::pair< Yield_T, MeanStdDevPair_T > YieldDemandPair_T
const std::string describeKey() const
Handle on the StdAir library context.
void setTotalForecast(const CabinCode_T &, const WTPDemandPair_T &)
std::list< CabinClassPair_T > CabinClassPairList_T
CabinForecastMap_T _cabinForecastMap
std::string AirlineCode_T
const AirlineCode_T & getAirlineCode() const
std::pair< WTP_T, MeanStdDevPair_T > WTPDemandPair_T
StringCabinClassPairListMap_T _stringCabinClassPairListMap
Key of a given O&D-date, made of a list of OnD strings. a OnD string contains the airline code...
std::string toString() const
BomAbstract *const getParent() const
Class representing the actual attributes for an airline inventory.
void setDemandInformation(const CabinClassPairList_T &, const YieldDemandPair_T &)
const OnDStringList_T DEFAULT_OND_STRING_LIST
std::pair< std::string, YieldDemandPair_T > StringDemandStructPair_T
StringDemandStructMap_T _classPathDemandMap