TraDemGen Logo  1.00.0
C++ Simulated Travel Demand Generation Library
 All Classes Namespaces Files Functions Variables Typedefs Friends Pages
TRADEMGEN::DemandStruct Struct Reference

#include <trademgen/bom/DemandStruct.hpp>

+ Inheritance diagram for TRADEMGEN::DemandStruct:

List of all members.

Public Member Functions

stdair::Date_T getDate () const
stdair::Duration_T getTime () const
const std::string describe () const
 DemandStruct ()
 ~DemandStruct ()

Public Attributes

stdair::DatePeriod_T _dateRange
stdair::DoWStruct _dow
stdair::AirportCode_T _origin
stdair::AirportCode_T _destination
stdair::CabinCode_T _prefCabin
stdair::MeanValue_T _demandMean
stdair::StdDevValue_T _demandStdDev
stdair::ChangeFeesRatio_T _changeFeeProb
stdair::Disutility_T _changeFeeDisutility
stdair::NonRefundableRatio_T _nonRefundableProb
stdair::Disutility_T _nonRefundableDisutility
POSProbabilityMassFunction_T _posProbDist
ChannelProbabilityMassFunction_T _channelProbDist
TripTypeProbabilityMassFunction_T _tripProbDist
StayDurationProbabilityMassFunction_T _stayProbDist
FrequentFlyerProbabilityMassFunction_T _ffProbDist
PreferredDepartureTimeContinuousDistribution_T _prefDepTimeProbDist
stdair::WTP_T _minWTP
ValueOfTimeContinuousDistribution_T _timeValueProbDist
ArrivalPatternCumulativeDistribution_T _dtdProbDist
stdair::Date_T _prefDepDateStart
stdair::Date_T _prefDepDateEnd
unsigned int _itYear
unsigned int _itMonth
unsigned int _itDay
long _itHours
long _itMinutes
long _itSeconds
stdair::AirportCode_T _itPosCode
stdair::ChannelLabel_T _itChannelCode
stdair::TripType_T _itTripCode
stdair::DayDuration_T _itStayDuration
stdair::FrequentFlyer_T _itFFCode
stdair::Duration_T _itPrefDepTime
stdair::PriceValue_T _itTimeValue
stdair::DayDuration_T _itDTD

Detailed Description

Utility Structure for the parsing of Demand structures.

Definition at line 21 of file DemandStruct.hpp.


Constructor & Destructor Documentation

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.


Member Function Documentation

stdair::Date_T TRADEMGEN::DemandStruct::getDate ( ) const
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

Member Data Documentation

stdair::DatePeriod_T TRADEMGEN::DemandStruct::_dateRange
stdair::DoWStruct TRADEMGEN::DemandStruct::_dow
stdair::AirportCode_T TRADEMGEN::DemandStruct::_origin
stdair::AirportCode_T TRADEMGEN::DemandStruct::_destination
stdair::CabinCode_T TRADEMGEN::DemandStruct::_prefCabin
stdair::MeanValue_T TRADEMGEN::DemandStruct::_demandMean
stdair::StdDevValue_T TRADEMGEN::DemandStruct::_demandStdDev
stdair::ChangeFeesRatio_T TRADEMGEN::DemandStruct::_changeFeeProb
stdair::Disutility_T TRADEMGEN::DemandStruct::_changeFeeDisutility
stdair::NonRefundableRatio_T TRADEMGEN::DemandStruct::_nonRefundableProb
stdair::Disutility_T TRADEMGEN::DemandStruct::_nonRefundableDisutility
stdair::WTP_T TRADEMGEN::DemandStruct::_minWTP
stdair::Date_T TRADEMGEN::DemandStruct::_prefDepDateStart
stdair::Date_T TRADEMGEN::DemandStruct::_prefDepDateEnd
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

Staging Time.

Definition at line 82 of file DemandStruct.hpp.

Referenced by getTime().

long TRADEMGEN::DemandStruct::_itMinutes
stdair::AirportCode_T TRADEMGEN::DemandStruct::_itPosCode
stdair::ChannelLabel_T TRADEMGEN::DemandStruct::_itChannelCode
stdair::TripType_T TRADEMGEN::DemandStruct::_itTripCode
stdair::DayDuration_T TRADEMGEN::DemandStruct::_itStayDuration
stdair::FrequentFlyer_T TRADEMGEN::DemandStruct::_itFFCode
stdair::Duration_T TRADEMGEN::DemandStruct::_itPrefDepTime
stdair::PriceValue_T TRADEMGEN::DemandStruct::_itTimeValue
stdair::DayDuration_T TRADEMGEN::DemandStruct::_itDTD

The documentation for this struct was generated from the following files: