AirInv Logo  1.00.9
C++ Simulated Airline Inventory Management System Library
Loading...
Searching...
No Matches
FlightDateStruct.hpp
Go to the documentation of this file.
1#ifndef __AIRINV_BOM_FLIGHTDATESTRUCT_HPP
2#define __AIRINV_BOM_FLIGHTDATESTRUCT_HPP
3
4// //////////////////////////////////////////////////////////////////////
5// Import section
6// //////////////////////////////////////////////////////////////////////
7// STL
8#include <string>
9// StdAir
10#include <stdair/stdair_inventory_types.hpp>
11#include <stdair/basic/StructAbstract.hpp>
12#include <stdair/bom/DoWStruct.hpp>
13// AirInv
23
24namespace AIRINV {
25
27 struct FlightDateStruct : public stdair::StructAbstract {
28
30 stdair::Date_T getDate() const;
31
33 stdair::Duration_T getTime() const;
34
36 const std::string describe() const;
37
40 void addAirport (const stdair::AirportCode_T&);
41
43 void buildSegments ();
44
51 void addSegmentCabin (const SegmentStruct&,
52 const SegmentCabinStruct&);
53
60
68 const FareFamilyStruct&);
69
76
79
80 // Attributes
81 stdair::AirlineCode_T _airlineCode;
82 stdair::FlightNumber_T _flightNumber;
83 stdair::Date_T _flightDate;
88
90 unsigned int _itYear;
91 unsigned int _itMonth;
92 unsigned int _itDay;
94
99
104
111
117 };
118
119}
120#endif // __AIRINV_BOM_FLIGHTDATESTRUCT_HPP
std::vector< stdair::AirportCode_T > AirportOrderedList_T
std::set< stdair::AirportCode_T > AirportList_T
std::vector< LegStruct > LegStructList_T
Definition LegStruct.hpp:57
std::vector< SegmentStruct > SegmentStructList_T
Utility Structure for the parsing of Bucket structures.
Utility Structure for the parsing of fare family details.
void addFareFamily(const SegmentStruct &, const SegmentCabinStruct &, const FareFamilyStruct &)
void addSegmentCabin(const SegmentStruct &, const SegmentCabinStruct &)
void addAirport(const stdair::AirportCode_T &)
SegmentStructList_T _segmentList
const std::string describe() const
BookingClassStruct _itBookingClass
SegmentCabinStruct _itSegmentCabin
stdair::FlightNumber_T _flightNumber
AirportOrderedList_T _airportOrderedList
stdair::Duration_T getTime() const
FlightVisibilityCode _flightVisibilityCode
stdair::Date_T getDate() const
stdair::AirlineCode_T _airlineCode
Utility Structure for the parsing of SegmentCabin details.