AirInv Logo  1.00.10
C++ Simulated Airline Inventory Management System Library
Loading...
Searching...
No Matches
SegmentCabinStruct.hpp
Go to the documentation of this file.
1#ifndef __AIRINV_BOM_SEGMENTCABINSTRUCT_HPP
2#define __AIRINV_BOM_SEGMENTCABINSTRUCT_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 SegmentCabin;
19}
20
21namespace AIRINV {
22
26 struct SegmentCabinStruct : public stdair::StructAbstract {
27 // Attributes
28 stdair::CabinCode_T _cabinCode;
29 stdair::NbOfBookings_T _nbOfBookings;
32
37 void fill (stdair::SegmentCabin&) const;
38
42 const std::string describe() const;
43 };
44
48 typedef std::vector<SegmentCabinStruct> SegmentCabinStructList_T;
49
50}
51#endif // __AIRINV_BOM_SEGMENTCABINSTRUCT_HPP
std::vector< FareFamilyStruct > FareFamilyStructList_T
std::vector< SegmentCabinStruct > SegmentCabinStructList_T
Forward declarations.
Utility Structure for the parsing of fare family details.
Utility Structure for the parsing of SegmentCabin details.
stdair::NbOfBookings_T _nbOfBookings
void fill(stdair::SegmentCabin &) const
FareFamilyStructList_T _fareFamilies
const std::string describe() const