AirInv Logo  1.00.0
C++ Simulated Airline Inventory Management System library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
FareFamilyStruct.hpp
Go to the documentation of this file.
1 #ifndef __AIRINV_BOM_FAREFAMILYSTRUCT_HPP
2 #define __AIRINV_BOM_FAREFAMILYSTRUCT_HPP
3 
4 // //////////////////////////////////////////////////////////////////////
5 // Import section
6 // //////////////////////////////////////////////////////////////////////
7 // STL
8 #include <string>
9 #include <vector>
10 // StdAir
11 #include <stdair/stdair_inventory_types.hpp>
12 #include <stdair/basic/StructAbstract.hpp>
13 // AirInv
15 
17 namespace stdair {
18  class FareFamily;
19 }
20 
21 namespace AIRINV {
22 
26  struct FareFamilyStruct : public stdair::StructAbstract {
27  // Attributes
28  stdair::FamilyCode_T _familyCode;
29  stdair::CurveKey_T _frat5CurveKey;
30  stdair::CurveKey_T _ffDisutilityCurveKey;
31  stdair::ClassList_String_T _classes;
33 
41  FareFamilyStruct (const stdair::FamilyCode_T&,
42  const stdair::CurveKey_T&, const stdair::CurveKey_T&,
43  const stdair::ClassList_String_T&);
44 
48  void fill (stdair::FareFamily&) const;
49 
53  const std::string describe() const;
54  };
55 
59  typedef std::vector<FareFamilyStruct> FareFamilyStructList_T;
60 
61 }
62 #endif // __AIRINV_BOM_FAREFAMILYSTRUCT_HPP