AirTSP Logo  1.01.0
C++ Simulated Airline Travel Solution Provider Library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
SegmentCabinStruct.hpp
Go to the documentation of this file.
1 #ifndef __AIRTSP_BOM_SEGMENTCABINSTRUCT_HPP
2 #define __AIRTSP_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 // AirTSP
15 
16 // Forward declarations
17 namespace stdair {
18  class SegmentCabin;
19 }
20 
21 namespace AIRTSP {
22 
24  struct SegmentCabinStruct : public stdair::StructAbstract {
25  // Attributes
26  stdair::CabinCode_T _cabinCode;
27  stdair::ClassList_String_T _classes;
28  stdair::FamilyCode_T _itFamilyCode;
29  stdair::CurveKey_T _itFRAT5CurveKey;
30  stdair::CurveKey_T _itFFDisutilityCurveKey;
32 
35  void fill (stdair::SegmentCabin&) const;
36 
38  const std::string describe() const;
39 
40  };
41 
43  typedef std::vector<SegmentCabinStruct> SegmentCabinStructList_T;
44 
45 }
46 #endif // __AIRTSP_BOM_SEGMENTCABINSTRUCT_HPP