AirTSP Logo  1.01.9
C++ Simulated Airline Travel Solution Provider (TSP) Library
Loading...
Searching...
No Matches
SegmentStruct.hpp
Go to the documentation of this file.
1#ifndef __AIRTSP_BOM_SEGMENTSTRUCT_HPP
2#define __AIRTSP_BOM_SEGMENTSTRUCT_HPP
3
4// //////////////////////////////////////////////////////////////////////
5// Import section
6// //////////////////////////////////////////////////////////////////////
7// STL
8#include <string>
9#include <vector>
10// StdAir
11#include <stdair/stdair_basic_types.hpp>
12#include <stdair/basic/StructAbstract.hpp>
13// AirTSP
15
16// Forward declarations
17namespace stdair {
18 class SegmentDate;
19}
20
21namespace AIRTSP {
22
24 struct SegmentStruct : public stdair::StructAbstract {
25 // Attributes
26 stdair::AirportCode_T _boardingPoint;
27 stdair::Date_T _boardingDate;
28 stdair::Duration_T _boardingTime;
29 stdair::AirportCode_T _offPoint;
30 stdair::Date_T _offDate;
31 stdair::Duration_T _offTime;
32 stdair::Duration_T _elapsed;
34
37 void fill (stdair::SegmentDate&) const;
38
40 const std::string describe() const;
41 };
42
44 typedef std::vector<SegmentStruct> SegmentStructList_T;
45
46}
47#endif // __AIRTSP_BOM_SEGMENTSTRUCT_HPP
std::vector< SegmentStruct > SegmentStructList_T
std::vector< SegmentCabinStruct > SegmentCabinStructList_T
Forward declarations.
stdair::Date_T _boardingDate
const std::string describe() const
stdair::Duration_T _elapsed
stdair::AirportCode_T _offPoint
void fill(stdair::SegmentDate &) const
stdair::Duration_T _boardingTime
SegmentCabinStructList_T _cabinList
stdair::Date_T _offDate
stdair::Duration_T _offTime
stdair::AirportCode_T _boardingPoint