AirInv Logo  0.1.2
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::ClassList_String_T _classes;
31 
39  FareFamilyStruct (const stdair::FamilyCode_T&,
40  const stdair::ClassList_String_T&);
41 
45  void fill (stdair::FareFamily&) const;
46 
50  const std::string describe() const;
51  };
52 
56  typedef std::vector<FareFamilyStruct> FareFamilyStructList_T;
57 
58 }
59 #endif // __AIRINV_BOM_FAREFAMILYSTRUCT_HPP