$treeview $search $mathjax
AirTSP Logo  1.01.2
$projectbrief
$projectbrief
$searchbox

SegmentCabinStruct.hpp

Go to the documentation of this file.
00001 #ifndef __AIRTSP_BOM_SEGMENTCABINSTRUCT_HPP
00002 #define __AIRTSP_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 // AirTSP
00014 #include <airtsp/bom/FareFamilyStruct.hpp>
00015 
00016 // Forward declarations
00017 namespace stdair {
00018   class SegmentCabin;
00019 }
00020 
00021 namespace AIRTSP {
00022   
00024   struct SegmentCabinStruct : public stdair::StructAbstract {
00025     // Attributes
00026     stdair::CabinCode_T _cabinCode;
00027     stdair::ClassList_String_T _classes;
00028     stdair::FamilyCode_T _itFamilyCode;
00029     stdair::CurveKey_T _itFRAT5CurveKey;
00030     stdair::CurveKey_T _itFFDisutilityCurveKey;
00031     FareFamilyStructList_T _fareFamilies;
00032 
00035     void fill (stdair::SegmentCabin&) const;
00036       
00038     const std::string describe() const;
00039 
00040   };
00041 
00043   typedef std::vector<SegmentCabinStruct> SegmentCabinStructList_T;
00044 
00045 }
00046 #endif // __AIRTSP_BOM_SEGMENTCABINSTRUCT_HPP