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

FareFamilyStruct.hpp

Go to the documentation of this file.
00001 #ifndef __AIRINV_BOM_FAREFAMILYSTRUCT_HPP
00002 #define __AIRINV_BOM_FAREFAMILYSTRUCT_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/BookingClassStruct.hpp>
00015 
00017 namespace stdair {
00018   class FareFamily;
00019 }
00020 
00021 namespace AIRINV {
00022 
00026   struct FareFamilyStruct : public stdair::StructAbstract {
00027     // Attributes
00028     stdair::FamilyCode_T _familyCode;
00029     stdair::CurveKey_T _frat5CurveKey;
00030     stdair::CurveKey_T _ffDisutilityCurveKey;
00031     stdair::ClassList_String_T _classes;
00032     BookingClassStructList_T _classList;
00033 
00037     FareFamilyStruct();
00041     FareFamilyStruct (const stdair::FamilyCode_T&,
00042                       const stdair::CurveKey_T&, const stdair::CurveKey_T&,
00043                       const stdair::ClassList_String_T&);
00044       
00048     void fill (stdair::FareFamily&) const;
00049       
00053     const std::string describe() const;
00054   };
00055 
00059   typedef std::vector<FareFamilyStruct> FareFamilyStructList_T;
00060 
00061 }
00062 #endif // __AIRINV_BOM_FAREFAMILYSTRUCT_HPP