AirSched Logo  0.1.4
C++ Simulated Airline Schedule Manager Library
AIRSCHED::LegStruct Struct Reference

#include <airsched/bom/LegStruct.hpp>

Inheritance diagram for AIRSCHED::LegStruct:

List of all members.

Public Member Functions

void fill (const stdair::Date_T &iRefDate, stdair::LegDate &) const
const std::string describe () const
 LegStruct ()

Public Attributes

stdair::AirportCode_T _boardingPoint
stdair::DateOffset_T _boardingDateOffset
stdair::Duration_T _boardingTime
stdair::AirportCode_T _offPoint
stdair::DateOffset_T _offDateOffset
stdair::Duration_T _offTime
stdair::Duration_T _elapsed
LegCabinStructList_T _cabinList

Detailed Description

Utility Structure for the parsing of Leg structures.

Definition at line 24 of file LegStruct.hpp.


Constructor & Destructor Documentation

AIRSCHED::LegStruct::LegStruct ( )

Default Constructor.

Definition at line 16 of file LegStruct.cpp.


Member Function Documentation

void AIRSCHED::LegStruct::fill ( const stdair::Date_T &  iRefDate,
stdair::LegDate &  ioLegDate 
) const

Fill the LegDate objects with the attributes of the LegStruct.
The given reference date corresponds to the date of the FlightDate. Indeed, each Leg gets date off-sets, when compared to that (reference) flight-date, both for the boarding date and for the off date.

Definition at line 48 of file LegStruct.cpp.

References _boardingDateOffset, _boardingTime, _elapsed, _offDateOffset, _offPoint, and _offTime.

const std::string AIRSCHED::LegStruct::describe ( ) const

Give a description of the structure (for display purposes).

Definition at line 22 of file LegStruct.cpp.

References _boardingDateOffset, _boardingPoint, _boardingTime, _cabinList, _elapsed, _offDateOffset, _offPoint, _offTime, and AIRSCHED::LegCabinStruct::describe().

Referenced by AIRSCHED::FlightPeriodStruct::describe().


Member Data Documentation


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