AirSched Logo  0.1.4
C++ Simulated Airline Schedule Manager Library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
SegmentCabinStruct.hpp
Go to the documentation of this file.
1 #ifndef __AIRSCHED_BOM_SEGMENTCABINSTRUCT_HPP
2 #define __AIRSCHED_BOM_SEGMENTCABINSTRUCT_HPP
3 
4 // //////////////////////////////////////////////////////////////////////
5 // Import section
6 // //////////////////////////////////////////////////////////////////////
7 // STL
8 #include <string>
9 #include <vector>
10 // StdAir
11 #include <stdair/stdair_basic_types.hpp>
12 #include <stdair/basic/StructAbstract.hpp>
13 // AirSched
15 
16 // Forward declarations
17 namespace stdair {
18  class SegmentCabin;
19 }
20 
21 namespace AIRSCHED {
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;
30 
33  void fill (stdair::SegmentCabin&) const;
34 
36  const std::string describe() const;
37 
38  };
39 
41  typedef std::vector<SegmentCabinStruct> SegmentCabinStructList_T;
42 
43 }
44 #endif // __AIRSCHED_BOM_SEGMENTCABINSTRUCT_HPP