AirSched Logo  0.1.4
C++ Simulated Airline Schedule Manager Library
LegCabinStruct.hpp
Go to the documentation of this file.
00001 #ifndef __AIRSCHED_BOM_LEGCABINSTRUCT_HPP
00002 #define __AIRSCHED_BOM_LEGCABINSTRUCT_HPP
00003 
00004 // //////////////////////////////////////////////////////////////////////
00005 // Import section
00006 // //////////////////////////////////////////////////////////////////////
00007 // STL
00008 #include <string>
00009 #include <vector>
00010 // StdAir
00011 #include <stdair/stdair_inventory_types.hpp>
00012 #include <stdair/basic/StructAbstract.hpp>
00013 
00014 // Forward declarations
00015 namespace stdair {
00016   class LegCabin;
00017 }
00018 
00019 namespace AIRSCHED {
00020 
00022   struct LegCabinStruct : public stdair::StructAbstract {
00023     // Attributes
00024     stdair::CabinCode_T _cabinCode;
00025     stdair::CabinCapacity_T _capacity;
00026 
00029     void fill (stdair::LegCabin&) const;
00030       
00032     const std::string describe() const;
00033   };
00034 
00036   typedef std::vector<LegCabinStruct> LegCabinStructList_T;
00037 
00038 }
00039 #endif // __AIRSCHED_BOM_LEGCABINSTRUCT_HPP