AirInv Logo  0.1.2
C++ Simulated Airline Inventory Management System library
LegCabinStruct.hpp
Go to the documentation of this file.
00001 #ifndef __AIRINV_BOM_LEGCABINSTRUCT_HPP
00002 #define __AIRINV_BOM_LEGCABINSTRUCT_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/bom/BucketStruct.hpp>
00015 
00016 // Forward declarations
00017 namespace stdair {
00018   class LegCabin;
00019 }
00020 
00021 namespace AIRINV {
00022 
00024   struct LegCabinStruct : public stdair::StructAbstract {
00025     // Attributes
00026     stdair::CabinCode_T _cabinCode;
00027     stdair::CabinCapacity_T _saleableCapacity;
00028     stdair::CapacityAdjustment_T _adjustment;
00029     stdair::CapacityAdjustment_T _dcsRegrade;
00030     stdair::AuthorizationLevel_T _au;
00031     stdair::Availability_T _avPool;
00032     stdair::UPR_T _upr;
00033     stdair::NbOfBookings_T _nbOfBookings;
00034     stdair::Availability_T _nav;
00035     stdair::Availability_T _gav;
00036     stdair::OverbookingRate_T _acp;
00037     stdair::NbOfBookings_T _etb;
00038     stdair::NbOfBookings_T _staffNbOfBookings;
00039     stdair::NbOfBookings_T _wlNbOfBookings;
00040     stdair::NbOfBookings_T _groupNbOfBookings;
00041     BucketStructList_T _bucketList;
00042 
00045     void fill (stdair::LegCabin&) const;
00046       
00048     const std::string describe() const;
00049   };
00050 
00052   typedef std::vector<LegCabinStruct> LegCabinStructList_T;
00053 
00054 }
00055 #endif // __AIRINV_BOM_LEGCABINSTRUCT_HPP
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines