AirInv Logo  1.00.0
C++ Simulated Airline Inventory Management System library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
AIRINV::SegmentStruct Struct Reference

#include <airinv/bom/SegmentStruct.hpp>

+ Inheritance diagram for AIRINV::SegmentStruct:

List of all members.

Public Member Functions

void fill (stdair::SegmentDate &) const
const std::string describe () const

Public Attributes

stdair::AirportCode_T _boardingPoint
stdair::AirportCode_T _offPoint
stdair::Date_T _boardingDate
stdair::Duration_T _boardingTime
stdair::Date_T _offDate
stdair::Duration_T _offTime
stdair::Duration_T _elapsed
SegmentCabinStructList_T _cabinList

Detailed Description

Utility Structure for the parsing of Segment structures.

Definition at line 23 of file SegmentStruct.hpp.


Member Function Documentation

void AIRINV::SegmentStruct::fill ( stdair::SegmentDate &  ioSegmentDate) const

Fill the SegmentDate objects with the attributes of the SegmentStruct.

Definition at line 36 of file SegmentStruct.cpp.

References _boardingTime, _elapsed, _offDate, and _offTime.

const std::string AIRINV::SegmentStruct::describe ( ) const

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

Definition at line 14 of file SegmentStruct.cpp.

References _boardingPoint, _boardingTime, _cabinList, _elapsed, _offPoint, _offTime, and AIRINV::SegmentCabinStruct::describe().

Referenced by AIRINV::FlightPeriodStruct::describe(), and AIRINV::FlightDateStruct::describe().


Member Data Documentation

stdair::Date_T AIRINV::SegmentStruct::_boardingDate

Definition at line 27 of file SegmentStruct.hpp.

stdair::Duration_T AIRINV::SegmentStruct::_boardingTime

Definition at line 28 of file SegmentStruct.hpp.

Referenced by describe(), and fill().

stdair::Date_T AIRINV::SegmentStruct::_offDate

Definition at line 29 of file SegmentStruct.hpp.

Referenced by fill().

stdair::Duration_T AIRINV::SegmentStruct::_offTime

Definition at line 30 of file SegmentStruct.hpp.

Referenced by describe(), and fill().

stdair::Duration_T AIRINV::SegmentStruct::_elapsed

Definition at line 31 of file SegmentStruct.hpp.

Referenced by describe(), and fill().


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