AirInv Logo  1.00.8
C++ Simulated Airline Inventory Management System Library
Loading...
Searching...
No Matches
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
15
17namespace stdair {
18 class Bucket;
19}
20
21namespace 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
41 };
42
44 typedef std::vector<BucketStruct> BucketStructList_T;
45
46}
47#endif // __AIRINV_BOM_BUCKETSTRUCT_HPP
std::vector< BucketStruct > BucketStructList_T
Forward declarations.
Utility Structure for the parsing of Bucket structures.
stdair::SeatIndex_T _seatIndex
stdair::CabinCapacity_T _availability
void fill(stdair::Bucket &) const
const std::string describe() const
stdair::NbOfSeats_T _nbOfSeats
stdair::Yield_T _yieldRangeUpperValue