AirInv Logo  1.00.9
C++ Simulated Airline Inventory Management System Library
Loading...
Searching...
No Matches
SegmentStruct.hpp
Go to the documentation of this file.
1#ifndef __AIRINV_BOM_SEGMENTSTRUCT_HPP
2#define __AIRINV_BOM_SEGMENTSTRUCT_HPP
3
4// //////////////////////////////////////////////////////////////////////
5// Import section
6// //////////////////////////////////////////////////////////////////////
7// STL
8#include <string>
9#include <vector>
10// STDAIR
11#include <stdair/stdair_inventory_types.hpp>
12#include <stdair/basic/StructAbstract.hpp>
13// AIRINV
15
16// Forward declarations
17namespace stdair {
18 class SegmentDate;
19}
20
21namespace AIRINV {
23 struct SegmentStruct : public stdair::StructAbstract {
24 // Attributes
25 stdair::AirportCode_T _boardingPoint;
26 stdair::AirportCode_T _offPoint;
27 stdair::Date_T _boardingDate;
28 stdair::Duration_T _boardingTime;
29 stdair::Date_T _offDate;
30 stdair::Duration_T _offTime;
31 stdair::Duration_T _elapsed;
33
36 void fill (stdair::SegmentDate&) const;
37
39 const std::string describe() const;
40 };
41
43 typedef std::vector<SegmentStruct> SegmentStructList_T;
44
45}
46#endif // __AIRINV_BOM_SEGMENTSTRUCT_HPP
std::vector< SegmentCabinStruct > SegmentCabinStructList_T
std::vector< SegmentStruct > SegmentStructList_T
Forward declarations.
stdair::Duration_T _offTime
stdair::AirportCode_T _offPoint
stdair::Duration_T _boardingTime
stdair::Duration_T _elapsed
SegmentCabinStructList_T _cabinList
void fill(stdair::SegmentDate &) const
stdair::Date_T _boardingDate
stdair::AirportCode_T _boardingPoint
const std::string describe() const
stdair::Date_T _offDate