$treeview $search $mathjax
AirInv Logo  1.00.1
$projectbrief
$projectbrief
$searchbox

BucketStruct.hpp

Go to the documentation of this file.
00001 #ifndef __AIRINV_BOM_BUCKETSTRUCT_HPP
00002 #define __AIRINV_BOM_BUCKETSTRUCT_HPP
00003 
00004 // //////////////////////////////////////////////////////////////////////
00005 // Import section
00006 // //////////////////////////////////////////////////////////////////////
00007 // STL
00008 #include <string>
00009 #include <vector>
00010 // StdAir
00011 #include <stdair/stdair_inventory_types.hpp>
00012 #include <stdair/basic/StructAbstract.hpp>
00013 // AirInv
00014 #include <airinv/AIRINV_Types.hpp>
00015 
00017 namespace stdair {
00018   class Bucket;
00019 }
00020 
00021 namespace AIRINV {
00022 
00026   struct BucketStruct : public stdair::StructAbstract {
00027     // Attributes
00028     stdair::Yield_T _yieldRangeUpperValue;
00029     stdair::CabinCapacity_T _availability;
00030     stdair::NbOfSeats_T _nbOfSeats;
00031     stdair::SeatIndex_T _seatIndex;
00032 
00034     void fill (stdair::Bucket&) const;
00035       
00037     const std::string describe() const;
00038 
00040     BucketStruct();
00041   };
00042 
00044   typedef std::vector<BucketStruct> BucketStructList_T;
00045 
00046 }
00047 #endif // __AIRINV_BOM_BUCKETSTRUCT_HPP