$treeview $search $mathjax
AirInv Logo  1.00.0
$projectbrief
$projectbrief
$searchbox

SegmentCabinStruct.hpp

Go to the documentation of this file.
00001 #ifndef __AIRINV_BOM_SEGMENTCABINSTRUCT_HPP
00002 #define __AIRINV_BOM_SEGMENTCABINSTRUCT_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 // AirInv
00014 #include <airinv/bom/FareFamilyStruct.hpp>
00015 
00016 // Forward declarations
00017 namespace stdair {
00018   class SegmentCabin;
00019 }
00020 
00021 namespace AIRINV {
00022   
00026   struct SegmentCabinStruct : public stdair::StructAbstract {
00027     // Attributes
00028     stdair::CabinCode_T _cabinCode;
00029     stdair::NbOfBookings_T _nbOfBookings;
00030     FareFamilyStruct _itFareFamily;
00031     FareFamilyStructList_T _fareFamilies;
00032     
00037     void fill (stdair::SegmentCabin&) const;
00038       
00042     const std::string describe() const;
00043   };
00044 
00048   typedef std::vector<SegmentCabinStruct> SegmentCabinStructList_T;
00049 
00050 }
00051 #endif // __AIRINV_BOM_SEGMENTCABINSTRUCT_HPP