#include <trademgen/bom/DemandStruct.hpp>
Utility Structure for the parsing of Demand structures.
Definition at line 21 of file DemandStruct.hpp.
Default constructor.
Definition at line 18 of file DemandStruct.cpp.
Destructor
Definition at line 26 of file DemandStruct.cpp.
stdair::Date_T TRADEMGEN::DemandStruct::getDate | ( | ) | const |
Get the date from the staging details.
Definition at line 30 of file DemandStruct.cpp.
References _itDay, _itMonth, and _itYear.
Referenced by TRADEMGEN::DemandParserHelper::storePrefDepDateRangeStart::operator()(), and TRADEMGEN::DemandParserHelper::storePrefDepDateRangeEnd::operator()().
stdair::Duration_T TRADEMGEN::DemandStruct::getTime | ( | ) | const |
Get the time from the staging details.
Definition at line 35 of file DemandStruct.cpp.
References _itHours, _itMinutes, and _itSeconds.
Referenced by TRADEMGEN::DemandParserHelper::storePrefDepTime::operator()().
const std::string TRADEMGEN::DemandStruct::describe | ( | ) | const |
Give a description of the structure (for display purposes).
Definition at line 42 of file DemandStruct.cpp.
References _channelProbDist, _dateRange, _demandMean, _demandStdDev, _destination, _dow, _dtdProbDist, _ffProbDist, _minWTP, _origin, _posProbDist, _prefCabin, _prefDepTimeProbDist, _stayProbDist, _timeValueProbDist, and _tripProbDist.
stdair::DatePeriod_T TRADEMGEN::DemandStruct::_dateRange |
Definition at line 51 of file DemandStruct.hpp.
Referenced by describe(), and TRADEMGEN::DemandParserHelper::storePrefDepDateRangeEnd::operator()().
stdair::DoWStruct TRADEMGEN::DemandStruct::_dow |
Definition at line 52 of file DemandStruct.hpp.
Referenced by describe(), and TRADEMGEN::DemandParserHelper::storeDow::operator()().
stdair::AirportCode_T TRADEMGEN::DemandStruct::_origin |
Definition at line 53 of file DemandStruct.hpp.
Referenced by describe(), and TRADEMGEN::DemandParserHelper::storeOrigin::operator()().
stdair::AirportCode_T TRADEMGEN::DemandStruct::_destination |
Definition at line 54 of file DemandStruct.hpp.
Referenced by describe(), and TRADEMGEN::DemandParserHelper::storeDestination::operator()().
stdair::CabinCode_T TRADEMGEN::DemandStruct::_prefCabin |
Definition at line 55 of file DemandStruct.hpp.
Referenced by describe(), and TRADEMGEN::DemandParserHelper::storePrefCabin::operator()().
stdair::MeanValue_T TRADEMGEN::DemandStruct::_demandMean |
Definition at line 56 of file DemandStruct.hpp.
Referenced by describe(), and TRADEMGEN::DemandParserHelper::storeDemandMean::operator()().
stdair::StdDevValue_T TRADEMGEN::DemandStruct::_demandStdDev |
Definition at line 57 of file DemandStruct.hpp.
Referenced by describe(), and TRADEMGEN::DemandParserHelper::storeDemandStdDev::operator()().
Definition at line 58 of file DemandStruct.hpp.
Referenced by describe(), TRADEMGEN::DemandParserHelper::storePosProbMass::operator()(), and TRADEMGEN::DemandParserHelper::doEndDemand::operator()().
Definition at line 59 of file DemandStruct.hpp.
Referenced by describe(), TRADEMGEN::DemandParserHelper::storeChannelProbMass::operator()(), and TRADEMGEN::DemandParserHelper::doEndDemand::operator()().
Definition at line 60 of file DemandStruct.hpp.
Referenced by describe(), TRADEMGEN::DemandParserHelper::storeTripProbMass::operator()(), and TRADEMGEN::DemandParserHelper::doEndDemand::operator()().
Definition at line 61 of file DemandStruct.hpp.
Referenced by describe(), TRADEMGEN::DemandParserHelper::storeStayProbMass::operator()(), and TRADEMGEN::DemandParserHelper::doEndDemand::operator()().
Definition at line 62 of file DemandStruct.hpp.
Referenced by describe(), TRADEMGEN::DemandParserHelper::storeFFProbMass::operator()(), and TRADEMGEN::DemandParserHelper::doEndDemand::operator()().
Definition at line 63 of file DemandStruct.hpp.
Referenced by describe(), TRADEMGEN::DemandParserHelper::storePrefDepTimeProbMass::operator()(), and TRADEMGEN::DemandParserHelper::doEndDemand::operator()().
stdair::WTP_T TRADEMGEN::DemandStruct::_minWTP |
Definition at line 64 of file DemandStruct.hpp.
Referenced by describe(), and TRADEMGEN::DemandParserHelper::storeWTP::operator()().
Definition at line 65 of file DemandStruct.hpp.
Referenced by describe(), TRADEMGEN::DemandParserHelper::storeTimeValueProbMass::operator()(), and TRADEMGEN::DemandParserHelper::doEndDemand::operator()().
Definition at line 66 of file DemandStruct.hpp.
Referenced by describe(), TRADEMGEN::DemandParserHelper::storeDTDProbMass::operator()(), and TRADEMGEN::DemandParserHelper::doEndDemand::operator()().
stdair::Date_T TRADEMGEN::DemandStruct::_prefDepDateStart |
Staging Date.
Definition at line 71 of file DemandStruct.hpp.
Referenced by TRADEMGEN::DemandParserHelper::storePrefDepDateRangeStart::operator()(), and TRADEMGEN::DemandParserHelper::storePrefDepDateRangeEnd::operator()().
stdair::Date_T TRADEMGEN::DemandStruct::_prefDepDateEnd |
Definition at line 72 of file DemandStruct.hpp.
Referenced by TRADEMGEN::DemandParserHelper::storePrefDepDateRangeEnd::operator()().
unsigned int TRADEMGEN::DemandStruct::_itYear |
Definition at line 73 of file DemandStruct.hpp.
Referenced by getDate().
unsigned int TRADEMGEN::DemandStruct::_itMonth |
Definition at line 74 of file DemandStruct.hpp.
Referenced by getDate().
unsigned int TRADEMGEN::DemandStruct::_itDay |
Definition at line 75 of file DemandStruct.hpp.
Referenced by getDate().
Definition at line 79 of file DemandStruct.hpp.
Referenced by getTime(), and TRADEMGEN::DemandParserHelper::storePrefDepTime::operator()().
stdair::AirportCode_T TRADEMGEN::DemandStruct::_itPosCode |
Staging Point-Of-Sale (POS) code.
Definition at line 83 of file DemandStruct.hpp.
Referenced by TRADEMGEN::DemandParserHelper::storePosCode::operator()(), and TRADEMGEN::DemandParserHelper::storePosProbMass::operator()().
stdair::ChannelLabel_T TRADEMGEN::DemandStruct::_itChannelCode |
Staging channel type code.
Definition at line 86 of file DemandStruct.hpp.
Referenced by TRADEMGEN::DemandParserHelper::storeChannelCode::operator()(), and TRADEMGEN::DemandParserHelper::storeChannelProbMass::operator()().
stdair::TripType_T TRADEMGEN::DemandStruct::_itTripCode |
Staging trip type code.
Definition at line 89 of file DemandStruct.hpp.
Referenced by TRADEMGEN::DemandParserHelper::storeTripCode::operator()(), and TRADEMGEN::DemandParserHelper::storeTripProbMass::operator()().
stdair::DayDuration_T TRADEMGEN::DemandStruct::_itStayDuration |
Staging stay duration.
Definition at line 92 of file DemandStruct.hpp.
Referenced by TRADEMGEN::DemandParserHelper::storeStayCode::operator()(), and TRADEMGEN::DemandParserHelper::storeStayProbMass::operator()().
stdair::FrequentFlyer_T TRADEMGEN::DemandStruct::_itFFCode |
Staging Frequent Flyer code.
Definition at line 95 of file DemandStruct.hpp.
Referenced by TRADEMGEN::DemandParserHelper::storeFFCode::operator()(), and TRADEMGEN::DemandParserHelper::storeFFProbMass::operator()().
stdair::Duration_T TRADEMGEN::DemandStruct::_itPrefDepTime |
Staging preferred departure time.
Definition at line 98 of file DemandStruct.hpp.
Referenced by TRADEMGEN::DemandParserHelper::storePrefDepTime::operator()(), and TRADEMGEN::DemandParserHelper::storePrefDepTimeProbMass::operator()().
stdair::PriceValue_T TRADEMGEN::DemandStruct::_itTimeValue |
Staging time value.
Definition at line 101 of file DemandStruct.hpp.
Referenced by TRADEMGEN::DemandParserHelper::storeTimeValue::operator()(), and TRADEMGEN::DemandParserHelper::storeTimeValueProbMass::operator()().
stdair::DayDuration_T TRADEMGEN::DemandStruct::_itDTD |
Staging DTD (Days-To-Departure).
Definition at line 104 of file DemandStruct.hpp.
Referenced by TRADEMGEN::DemandParserHelper::storeDTD::operator()(), and TRADEMGEN::DemandParserHelper::storeDTDProbMass::operator()().