AirTSP Logo  1.01.0
C++ Simulated Airline Travel Solution Provider Library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
LegCabinStruct.hpp
Go to the documentation of this file.
1 #ifndef __AIRTSP_BOM_LEGCABINSTRUCT_HPP
2 #define __AIRTSP_BOM_LEGCABINSTRUCT_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 
14 // Forward declarations
15 namespace stdair {
16  class LegCabin;
17 }
18 
19 namespace AIRTSP {
20 
22  struct LegCabinStruct : public stdair::StructAbstract {
23  // Attributes
24  stdair::CabinCode_T _cabinCode;
25  stdair::CabinCapacity_T _capacity;
26 
29  void fill (stdair::LegCabin&) const;
30 
32  const std::string describe() const;
33  };
34 
36  typedef std::vector<LegCabinStruct> LegCabinStructList_T;
37 
38 }
39 #endif // __AIRTSP_BOM_LEGCABINSTRUCT_HPP