1.01.17
C++ Simulated Airline Travel Solution Provider (TSP) Library
Toggle main menu visibility
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
14
#include <
airtsp/bom/SegmentCabinStruct.hpp
>
15
16
// Forward declarations
17
namespace
stdair
{
18
class
SegmentDate;
19
}
20
21
namespace
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
;
33
SegmentCabinStructList_T
_cabinList
;
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
SegmentCabinStruct.hpp
AIRTSP
Definition
AIRTSP_Service.hpp:23
AIRTSP::SegmentStructList_T
std::vector< SegmentStruct > SegmentStructList_T
Definition
SegmentStruct.hpp:44
AIRTSP::SegmentCabinStructList_T
std::vector< SegmentCabinStruct > SegmentCabinStructList_T
Definition
SegmentCabinStruct.hpp:43
stdair
Forward declarations.
Definition
AIRTSP_Service.hpp:14
AIRTSP::SegmentStruct
Definition
SegmentStruct.hpp:24
AIRTSP::SegmentStruct::_boardingDate
stdair::Date_T _boardingDate
Definition
SegmentStruct.hpp:27
AIRTSP::SegmentStruct::describe
const std::string describe() const
Definition
SegmentStruct.cpp:15
AIRTSP::SegmentStruct::_elapsed
stdair::Duration_T _elapsed
Definition
SegmentStruct.hpp:32
AIRTSP::SegmentStruct::_offPoint
stdair::AirportCode_T _offPoint
Definition
SegmentStruct.hpp:29
AIRTSP::SegmentStruct::fill
void fill(stdair::SegmentDate &) const
Definition
SegmentStruct.cpp:35
AIRTSP::SegmentStruct::_boardingTime
stdair::Duration_T _boardingTime
Definition
SegmentStruct.hpp:28
AIRTSP::SegmentStruct::_cabinList
SegmentCabinStructList_T _cabinList
Definition
SegmentStruct.hpp:33
AIRTSP::SegmentStruct::_offDate
stdair::Date_T _offDate
Definition
SegmentStruct.hpp:30
AIRTSP::SegmentStruct::_offTime
stdair::Duration_T _offTime
Definition
SegmentStruct.hpp:31
AIRTSP::SegmentStruct::_boardingPoint
stdair::AirportCode_T _boardingPoint
Definition
SegmentStruct.hpp:26
Generated on
for AirTSP by
1.17.0