1.00.0
C++ Simulated Airline Inventory Management System library
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
LegStruct.hpp
Go to the documentation of this file.
1
#ifndef __AIRINV_BOM_LEGSTRUCT_HPP
2
#define __AIRINV_BOM_LEGSTRUCT_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
14
#include <
airinv/bom/LegCabinStruct.hpp
>
15
16
// Forward declarations
17
namespace
stdair {
18
class
LegDate;
19
}
20
21
namespace
AIRINV {
22
24
struct
LegStruct
:
public
stdair::StructAbstract {
25
// Attributes
26
stdair::AirlineCode_T
_airlineCode
;
27
stdair::FlightNumber_T
_flightNumber
;
28
stdair::AirportCode_T
_boardingPoint
;
29
stdair::DateOffset_T
_boardingDateOffset
;
30
stdair::Date_T
_boardingDate
;
31
stdair::Duration_T
_boardingTime
;
32
stdair::AirportCode_T
_offPoint
;
33
stdair::DateOffset_T
_offDateOffset
;
34
stdair::Date_T
_offDate
;
35
stdair::Duration_T
_offTime
;
36
stdair::Duration_T
_elapsed
;
37
LegCabinStructList_T
_cabinList
;
38
44
void
fill
(
const
stdair::Date_T& iRefDate, stdair::LegDate&)
const
;
45
47
void
fill
(stdair::LegDate&)
const
;
48
50
const
std::string
describe
()
const
;
51
53
LegStruct
();
54
};
55
57
typedef
std::vector<LegStruct>
LegStructList_T
;
58
59
}
60
#endif // __AIRINV_BOM_LEGSTRUCT_HPP
Generated on Tue Dec 25 2012 22:19:42 for AirInv by
1.8.1.1