#include <trademgen/bom/DemandStruct.hpp>
Public Member Functions | |
stdair::Date_T | getDate () const |
stdair::Duration_T | getTime () const |
const std::string | describe () const |
DemandStruct () | |
~DemandStruct () |
Utility Structure for the parsing of Demand structures.
Definition at line 21 of file DemandStruct.hpp.
TRADEMGEN::DemandStruct::DemandStruct | ( | ) |
Default constructor.
Definition at line 18 of file DemandStruct.cpp.
TRADEMGEN::DemandStruct::~DemandStruct | ( | ) |
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 _changeFeeProb, _channelProbDist, _dateRange, _demandMean, _demandStdDev, _destination, _dow, _dtdProbDist, _ffProbDist, _minWTP, _nonRefundableProb, _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()().
stdair::ChangeFeesRatio_T TRADEMGEN::DemandStruct::_changeFeeProb |
Definition at line 58 of file DemandStruct.hpp.
Referenced by describe(), and TRADEMGEN::DemandParserHelper::storeDemandChangeFeeProb::operator()().
stdair::Disutility_T TRADEMGEN::DemandStruct::_changeFeeDisutility |
Definition at line 59 of file DemandStruct.hpp.
Referenced by TRADEMGEN::DemandParserHelper::storeDemandChangeFeeDisutility::operator()().
stdair::NonRefundableRatio_T TRADEMGEN::DemandStruct::_nonRefundableProb |
Definition at line 60 of file DemandStruct.hpp.
Referenced by describe(), and TRADEMGEN::DemandParserHelper::storeDemandNonRefundableProb::operator()().
stdair::Disutility_T TRADEMGEN::DemandStruct::_nonRefundableDisutility |
Definition at line 61 of file DemandStruct.hpp.
Referenced by TRADEMGEN::DemandParserHelper::storeDemandNonRefundableDisutility::operator()().
POSProbabilityMassFunction_T TRADEMGEN::DemandStruct::_posProbDist |
Definition at line 62 of file DemandStruct.hpp.
Referenced by describe(), TRADEMGEN::DemandParserHelper::storePosProbMass::operator()(), and TRADEMGEN::DemandParserHelper::doEndDemand::operator()().
ChannelProbabilityMassFunction_T TRADEMGEN::DemandStruct::_channelProbDist |
Definition at line 63 of file DemandStruct.hpp.
Referenced by describe(), TRADEMGEN::DemandParserHelper::storeChannelProbMass::operator()(), and TRADEMGEN::DemandParserHelper::doEndDemand::operator()().
TripTypeProbabilityMassFunction_T TRADEMGEN::DemandStruct::_tripProbDist |
Definition at line 64 of file DemandStruct.hpp.
Referenced by describe(), TRADEMGEN::DemandParserHelper::storeTripProbMass::operator()(), and TRADEMGEN::DemandParserHelper::doEndDemand::operator()().
StayDurationProbabilityMassFunction_T TRADEMGEN::DemandStruct::_stayProbDist |
Definition at line 65 of file DemandStruct.hpp.
Referenced by describe(), TRADEMGEN::DemandParserHelper::storeStayProbMass::operator()(), and TRADEMGEN::DemandParserHelper::doEndDemand::operator()().
FrequentFlyerProbabilityMassFunction_T TRADEMGEN::DemandStruct::_ffProbDist |
Definition at line 66 of file DemandStruct.hpp.
Referenced by describe(), TRADEMGEN::DemandParserHelper::storeFFProbMass::operator()(), and TRADEMGEN::DemandParserHelper::doEndDemand::operator()().
PreferredDepartureTimeContinuousDistribution_T TRADEMGEN::DemandStruct::_prefDepTimeProbDist |
Definition at line 67 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 68 of file DemandStruct.hpp.
Referenced by describe(), and TRADEMGEN::DemandParserHelper::storeWTP::operator()().
ValueOfTimeContinuousDistribution_T TRADEMGEN::DemandStruct::_timeValueProbDist |
Definition at line 69 of file DemandStruct.hpp.
Referenced by describe(), TRADEMGEN::DemandParserHelper::storeTimeValueProbMass::operator()(), and TRADEMGEN::DemandParserHelper::doEndDemand::operator()().
ArrivalPatternCumulativeDistribution_T TRADEMGEN::DemandStruct::_dtdProbDist |
Definition at line 70 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 75 of file DemandStruct.hpp.
Referenced by TRADEMGEN::DemandParserHelper::storePrefDepDateRangeStart::operator()(), and TRADEMGEN::DemandParserHelper::storePrefDepDateRangeEnd::operator()().
stdair::Date_T TRADEMGEN::DemandStruct::_prefDepDateEnd |
Definition at line 76 of file DemandStruct.hpp.
Referenced by TRADEMGEN::DemandParserHelper::storePrefDepDateRangeEnd::operator()().
unsigned int TRADEMGEN::DemandStruct::_itYear |
Definition at line 77 of file DemandStruct.hpp.
Referenced by getDate().
unsigned int TRADEMGEN::DemandStruct::_itMonth |
Definition at line 78 of file DemandStruct.hpp.
Referenced by getDate().
unsigned int TRADEMGEN::DemandStruct::_itDay |
Definition at line 79 of file DemandStruct.hpp.
Referenced by getDate().
long TRADEMGEN::DemandStruct::_itHours |
long TRADEMGEN::DemandStruct::_itMinutes |
Definition at line 83 of file DemandStruct.hpp.
Referenced by getTime(), and TRADEMGEN::DemandParserHelper::storePrefDepTime::operator()().
long TRADEMGEN::DemandStruct::_itSeconds |
stdair::AirportCode_T TRADEMGEN::DemandStruct::_itPosCode |
Staging Point-Of-Sale (POS) code.
Definition at line 87 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 90 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 93 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 96 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 99 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 102 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 105 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 108 of file DemandStruct.hpp.
Referenced by TRADEMGEN::DemandParserHelper::storeDTD::operator()(), and TRADEMGEN::DemandParserHelper::storeDTDProbMass::operator()().