1.01.14
C++ Simulated Airline Travel Solution Provider (TSP) Library
Loading...
Searching...
No Matches
InventoryGenerator.hpp
Go to the documentation of this file.
1
#ifndef __AIRTSP_CMD_INVENTORYGENERATOR_HPP
2
#define __AIRTSP_CMD_INVENTORYGENERATOR_HPP
3
4
// //////////////////////////////////////////////////////////////////////
5
// Import section
6
// //////////////////////////////////////////////////////////////////////
7
// StdAir
8
#include <stdair/command/CmdAbstract.hpp>
9
// AirTSP
10
#include <
airtsp/AIRTSP_Types.hpp
>
11
12
// Forward declarations
13
namespace
stdair
{
14
class
BomRoot;
15
class
FlightPeriod;
16
}
17
18
namespace
AIRTSP
{
19
20
// Forward declarations
21
struct
FlightPeriodStruct
;
22
struct
LegStruct
;
23
struct
SegmentStruct
;
24
struct
LegCabinStruct
;
25
struct
SegmentCabinStruct
;
26
namespace
ScheduleParserHelper
{
27
struct
doEndFlight
;
28
}
29
31
class
InventoryGenerator
:
public
stdair::CmdAbstract {
32
// Only the following class may use methods of InventoryGenerator.
33
// Indeed, as those methods build the BOM, it is not good to expose
34
// them publicly.
35
friend
class
FlightPeriodFileParser
;
36
friend
class
FFFlightPeriodFileParser
;
37
friend
struct
ScheduleParserHelper::doEndFlight
;
38
friend
class
ScheduleParser
;
39
40
private
:
43
static
void
createFlightPeriod (stdair::BomRoot&,
44
const
FlightPeriodStruct
&);
45
47
static
void
createSegmentPeriods (stdair::FlightPeriod&,
48
const
FlightPeriodStruct
&);
49
50
};
51
52
}
53
#endif
// __AIRTSP_CMD_INVENTORYGENERATOR_HPP
AIRTSP_Types.hpp
AIRTSP::InventoryGenerator
Definition
InventoryGenerator.hpp:31
AIRTSP::InventoryGenerator::ScheduleParser
friend class ScheduleParser
Definition
InventoryGenerator.hpp:38
AIRTSP::InventoryGenerator::FlightPeriodFileParser
friend class FlightPeriodFileParser
Definition
InventoryGenerator.hpp:35
AIRTSP::InventoryGenerator::FFFlightPeriodFileParser
friend class FFFlightPeriodFileParser
Definition
InventoryGenerator.hpp:36
AIRTSP::ScheduleParserHelper
Definition
InventoryGenerator.hpp:26
AIRTSP
Definition
AIRTSP_Service.hpp:23
stdair
Forward declarations.
Definition
AIRTSP_Service.hpp:14
AIRTSP::FlightPeriodStruct
Definition
FlightPeriodStruct.hpp:26
AIRTSP::LegCabinStruct
Definition
LegCabinStruct.hpp:22
AIRTSP::LegStruct
Definition
LegStruct.hpp:24
AIRTSP::ScheduleParserHelper::doEndFlight
Definition
ScheduleParserHelper.hpp:224
AIRTSP::SegmentCabinStruct
Definition
SegmentCabinStruct.hpp:24
AIRTSP::SegmentStruct
Definition
SegmentStruct.hpp:24
Generated on Mon May 5 2025 00:00:00 for AirTSP by
1.14.0