TraDemGen Logo  0.2.2
C++ Simulated Travel Demand Generation Library
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
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

Default constructor.

Definition at line 18 of file DemandStruct.cpp.

Destructor

Definition at line 26 of file DemandStruct.cpp.


Member Function Documentation

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.


Member Data Documentation

Definition at line 73 of file DemandStruct.hpp.

Referenced by getDate().

Definition at line 74 of file DemandStruct.hpp.

Referenced by getDate().

Definition at line 75 of file DemandStruct.hpp.

Referenced by getDate().

Staging Time.

Definition at line 78 of file DemandStruct.hpp.

Referenced by getTime().


The documentation for this struct was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Friends Defines