AirTSP Logo  1.01.0
C++ Simulated Airline Travel Solution Provider Library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
FareFamilyStruct.hpp
Go to the documentation of this file.
1 #ifndef __AIRTSP_BOM_FAREFAMILYSTRUCT_HPP
2 #define __AIRTSP_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 
14 namespace AIRTSP {
15 
17  struct FareFamilyStruct : public stdair::StructAbstract {
18  // Attributes
19  stdair::FamilyCode_T _familyCode;
20  stdair::CurveKey_T _frat5CurveKey;
21  stdair::CurveKey_T _ffDisutilityCurveKey;
22  stdair::ClassList_String_T _classes;
23 
25  FareFamilyStruct (const stdair::FamilyCode_T&,
26  const stdair::CurveKey_T&, const stdair::CurveKey_T&,
27  const stdair::ClassList_String_T&);
28 
30  const std::string describe() const;
31  };
32 
34  typedef std::vector<FareFamilyStruct> FareFamilyStructList_T;
35 
36 }
37 #endif // __AIRTSP_BOM_FAREFAMILYSTRUCT_HPP