#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.
References _dateRange, _dow, _itFFCode, _itHours, _itMinutes, _itSeconds, and _prefCabin.
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.
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.
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 DemandStruct(), and describe().
stdair::DoWStruct TRADEMGEN::DemandStruct::_dow |
Definition at line 52 of file DemandStruct.hpp.
Referenced by DemandStruct(), and describe().
stdair::AirportCode_T TRADEMGEN::DemandStruct::_origin |
Definition at line 53 of file DemandStruct.hpp.
Referenced by describe().
stdair::AirportCode_T TRADEMGEN::DemandStruct::_destination |
Definition at line 54 of file DemandStruct.hpp.
Referenced by describe().
stdair::CabinCode_T TRADEMGEN::DemandStruct::_prefCabin |
Definition at line 55 of file DemandStruct.hpp.
Referenced by DemandStruct(), and describe().
stdair::MeanValue_T TRADEMGEN::DemandStruct::_demandMean |
Definition at line 56 of file DemandStruct.hpp.
Referenced by describe().
stdair::StdDevValue_T TRADEMGEN::DemandStruct::_demandStdDev |
Definition at line 57 of file DemandStruct.hpp.
Referenced by describe().
stdair::ChangeFeesRatio_T TRADEMGEN::DemandStruct::_changeFeeProb |
Definition at line 58 of file DemandStruct.hpp.
Referenced by describe().
stdair::Disutility_T TRADEMGEN::DemandStruct::_changeFeeDisutility |
Definition at line 59 of file DemandStruct.hpp.
stdair::NonRefundableRatio_T TRADEMGEN::DemandStruct::_nonRefundableProb |
Definition at line 60 of file DemandStruct.hpp.
Referenced by describe().
stdair::Disutility_T TRADEMGEN::DemandStruct::_nonRefundableDisutility |
Definition at line 61 of file DemandStruct.hpp.
POSProbabilityMassFunction_T TRADEMGEN::DemandStruct::_posProbDist |
Definition at line 62 of file DemandStruct.hpp.
Referenced by describe().
ChannelProbabilityMassFunction_T TRADEMGEN::DemandStruct::_channelProbDist |
Definition at line 63 of file DemandStruct.hpp.
Referenced by describe().
TripTypeProbabilityMassFunction_T TRADEMGEN::DemandStruct::_tripProbDist |
Definition at line 64 of file DemandStruct.hpp.
Referenced by describe().
StayDurationProbabilityMassFunction_T TRADEMGEN::DemandStruct::_stayProbDist |
Definition at line 65 of file DemandStruct.hpp.
Referenced by describe().
FrequentFlyerProbabilityMassFunction_T TRADEMGEN::DemandStruct::_ffProbDist |
Definition at line 66 of file DemandStruct.hpp.
Referenced by describe().
PreferredDepartureTimeContinuousDistribution_T TRADEMGEN::DemandStruct::_prefDepTimeProbDist |
Definition at line 67 of file DemandStruct.hpp.
Referenced by describe().
stdair::WTP_T TRADEMGEN::DemandStruct::_minWTP |
Definition at line 68 of file DemandStruct.hpp.
Referenced by describe().
ValueOfTimeContinuousDistribution_T TRADEMGEN::DemandStruct::_timeValueProbDist |
Definition at line 69 of file DemandStruct.hpp.
Referenced by describe().
ArrivalPatternCumulativeDistribution_T TRADEMGEN::DemandStruct::_dtdProbDist |
Definition at line 70 of file DemandStruct.hpp.
Referenced by describe().
stdair::Date_T TRADEMGEN::DemandStruct::_prefDepDateStart |
Staging Date.
Definition at line 75 of file DemandStruct.hpp.
stdair::Date_T TRADEMGEN::DemandStruct::_prefDepDateEnd |
Definition at line 76 of file DemandStruct.hpp.
unsigned int TRADEMGEN::DemandStruct::_itYear |
Definition at line 77 of file DemandStruct.hpp.
Referenced by TRADEMGEN::DemandParserHelper::DemandParser::definition< ScannerT >::definition(), and getDate().
unsigned int TRADEMGEN::DemandStruct::_itMonth |
Definition at line 78 of file DemandStruct.hpp.
Referenced by TRADEMGEN::DemandParserHelper::DemandParser::definition< ScannerT >::definition(), and getDate().
unsigned int TRADEMGEN::DemandStruct::_itDay |
Definition at line 79 of file DemandStruct.hpp.
Referenced by TRADEMGEN::DemandParserHelper::DemandParser::definition< ScannerT >::definition(), and getDate().
long TRADEMGEN::DemandStruct::_itHours |
Staging Time.
Definition at line 82 of file DemandStruct.hpp.
Referenced by TRADEMGEN::DemandParserHelper::DemandParser::definition< ScannerT >::definition(), DemandStruct(), and getTime().
long TRADEMGEN::DemandStruct::_itMinutes |
Definition at line 83 of file DemandStruct.hpp.
Referenced by TRADEMGEN::DemandParserHelper::DemandParser::definition< ScannerT >::definition(), DemandStruct(), and getTime().
long TRADEMGEN::DemandStruct::_itSeconds |
Definition at line 84 of file DemandStruct.hpp.
Referenced by TRADEMGEN::DemandParserHelper::DemandParser::definition< ScannerT >::definition(), DemandStruct(), and getTime().
stdair::AirportCode_T TRADEMGEN::DemandStruct::_itPosCode |
Staging Point-Of-Sale (POS) code.
Definition at line 87 of file DemandStruct.hpp.
stdair::ChannelLabel_T TRADEMGEN::DemandStruct::_itChannelCode |
Staging channel type code.
Definition at line 90 of file DemandStruct.hpp.
stdair::TripType_T TRADEMGEN::DemandStruct::_itTripCode |
Staging trip type code.
Definition at line 93 of file DemandStruct.hpp.
stdair::DayDuration_T TRADEMGEN::DemandStruct::_itStayDuration |
Staging stay duration.
Definition at line 96 of file DemandStruct.hpp.
stdair::FrequentFlyer_T TRADEMGEN::DemandStruct::_itFFCode |
Staging Frequent Flyer code.
Definition at line 99 of file DemandStruct.hpp.
Referenced by DemandStruct().
stdair::Duration_T TRADEMGEN::DemandStruct::_itPrefDepTime |
Staging preferred departure time.
Definition at line 102 of file DemandStruct.hpp.
stdair::PriceValue_T TRADEMGEN::DemandStruct::_itTimeValue |
Staging time value.
Definition at line 105 of file DemandStruct.hpp.
stdair::DayDuration_T TRADEMGEN::DemandStruct::_itDTD |
Staging DTD (Days-To-Departure).
Definition at line 108 of file DemandStruct.hpp.