AirInv Logo  1.00.3
C++ Simulated Airline Inventory Management System library
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
17 namespace stdair {
18  class SegmentCabin;
19 }
20 
21 namespace 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
AIRINV::SegmentCabinStruct
Utility Structure for the parsing of SegmentCabin details.
Definition: SegmentCabinStruct.hpp:26
FareFamilyStruct.hpp
AIRINV::FareFamilyStructList_T
std::vector< FareFamilyStruct > FareFamilyStructList_T
Definition: FareFamilyStruct.hpp:59
stdair
Forward declarations.
Definition: AIRINV_Master_Service.hpp:25
AIRINV::SegmentCabinStruct::fill
void fill(stdair::SegmentCabin &) const
Definition: SegmentCabinStruct.cpp:33
AIRINV::SegmentCabinStructList_T
std::vector< SegmentCabinStruct > SegmentCabinStructList_T
Definition: SegmentCabinStruct.hpp:48
AIRINV::SegmentCabinStruct::_cabinCode
stdair::CabinCode_T _cabinCode
Definition: SegmentCabinStruct.hpp:28
AIRINV::SegmentCabinStruct::describe
const std::string describe() const
Definition: SegmentCabinStruct.cpp:15
AIRINV::SegmentCabinStruct::_nbOfBookings
stdair::NbOfBookings_T _nbOfBookings
Definition: SegmentCabinStruct.hpp:29
AIRINV::SegmentCabinStruct::_fareFamilies
FareFamilyStructList_T _fareFamilies
Definition: SegmentCabinStruct.hpp:31
AIRINV
Definition: AIRINV_Master_Service.hpp:38
AIRINV::SegmentCabinStruct::_itFareFamily
FareFamilyStruct _itFareFamily
Definition: SegmentCabinStruct.hpp:30
AIRINV::FareFamilyStruct
Utility Structure for the parsing of fare family details.
Definition: FareFamilyStruct.hpp:26