AirInv Logo  1.00.0
C++ Simulated Airline Inventory Management System library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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