AirInv Logo  1.00.3
C++ Simulated Airline Inventory Management System library
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
AIRINV::BucketStruct::describe
const std::string describe() const
Definition: BucketStruct.cpp:20
stdair
Forward declarations.
Definition: AIRINV_Master_Service.hpp:25
AIRINV_Types.hpp
AIRINV::BucketStructList_T
std::vector< BucketStruct > BucketStructList_T
Definition: BucketStruct.hpp:44
AIRINV::BucketStruct::_nbOfSeats
stdair::NbOfSeats_T _nbOfSeats
Definition: BucketStruct.hpp:30
AIRINV::BucketStruct::_availability
stdair::CabinCapacity_T _availability
Definition: BucketStruct.hpp:29
AIRINV
Definition: AIRINV_Master_Service.hpp:38
AIRINV::BucketStruct::_seatIndex
stdair::SeatIndex_T _seatIndex
Definition: BucketStruct.hpp:31
AIRINV::BucketStruct::fill
void fill(stdair::Bucket &) const
Definition: BucketStruct.cpp:29
AIRINV::BucketStruct
Utility Structure for the parsing of Bucket structures.
Definition: BucketStruct.hpp:26
AIRINV::BucketStruct::BucketStruct
BucketStruct()
Definition: BucketStruct.cpp:16
AIRINV::BucketStruct::_yieldRangeUpperValue
stdair::Yield_T _yieldRangeUpperValue
Definition: BucketStruct.hpp:28