AirInv Logo  1.00.0
C++ Simulated Airline Inventory Management System library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
BucketStruct.hpp
Go to the documentation of this file.
1 #ifndef __AIRINV_BOM_BUCKETSTRUCT_HPP
2 #define __AIRINV_BOM_BUCKETSTRUCT_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
14 #include <airinv/AIRINV_Types.hpp>
15 
17 namespace stdair {
18  class Bucket;
19 }
20 
21 namespace AIRINV {
22 
26  struct BucketStruct : public stdair::StructAbstract {
27  // Attributes
28  stdair::Yield_T _yieldRangeUpperValue;
29  stdair::CabinCapacity_T _availability;
30  stdair::NbOfSeats_T _nbOfSeats;
31  stdair::SeatIndex_T _seatIndex;
32 
34  void fill (stdair::Bucket&) const;
35 
37  const std::string describe() const;
38 
40  BucketStruct();
41  };
42 
44  typedef std::vector<BucketStruct> BucketStructList_T;
45 
46 }
47 #endif // __AIRINV_BOM_BUCKETSTRUCT_HPP