AirInv Logo  1.00.5
C++ Simulated Airline Inventory Management System Library
LegCabinStruct.hpp
Go to the documentation of this file.
1 #ifndef __AIRINV_BOM_LEGCABINSTRUCT_HPP
2 #define __AIRINV_BOM_LEGCABINSTRUCT_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 
16 // Forward declarations
17 namespace stdair {
18  class LegCabin;
19 }
20 
21 namespace AIRINV {
22 
24  struct LegCabinStruct : public stdair::StructAbstract {
25  // Attributes
26  stdair::CabinCode_T _cabinCode;
27  stdair::CabinCapacity_T _saleableCapacity;
28  stdair::CapacityAdjustment_T _adjustment;
29  stdair::CapacityAdjustment_T _dcsRegrade;
30  stdair::AuthorizationLevel_T _au;
31  stdair::Availability_T _avPool;
32  stdair::UPR_T _upr;
33  stdair::NbOfBookings_T _nbOfBookings;
34  stdair::Availability_T _nav;
35  stdair::Availability_T _gav;
36  stdair::OverbookingRate_T _acp;
37  stdair::NbOfBookings_T _etb;
38  stdair::NbOfBookings_T _staffNbOfBookings;
39  stdair::NbOfBookings_T _wlNbOfBookings;
40  stdair::NbOfBookings_T _groupNbOfBookings;
42 
45  void fill (stdair::LegCabin&) const;
46 
48  const std::string describe() const;
49  };
50 
52  typedef std::vector<LegCabinStruct> LegCabinStructList_T;
53 
54 }
55 #endif // __AIRINV_BOM_LEGCABINSTRUCT_HPP
AIRINV::LegCabinStruct::_avPool
stdair::Availability_T _avPool
Definition: LegCabinStruct.hpp:31
AIRINV::LegCabinStruct::_acp
stdair::OverbookingRate_T _acp
Definition: LegCabinStruct.hpp:36
AIRINV::LegCabinStruct::_cabinCode
stdair::CabinCode_T _cabinCode
Definition: LegCabinStruct.hpp:26
AIRINV::LegCabinStruct::_nbOfBookings
stdair::NbOfBookings_T _nbOfBookings
Definition: LegCabinStruct.hpp:33
AIRINV::LegCabinStruct::_au
stdair::AuthorizationLevel_T _au
Definition: LegCabinStruct.hpp:30
AIRINV::LegCabinStruct::_groupNbOfBookings
stdair::NbOfBookings_T _groupNbOfBookings
Definition: LegCabinStruct.hpp:40
AIRINV::LegCabinStruct::_etb
stdair::NbOfBookings_T _etb
Definition: LegCabinStruct.hpp:37
AIRINV::LegCabinStruct::_staffNbOfBookings
stdair::NbOfBookings_T _staffNbOfBookings
Definition: LegCabinStruct.hpp:38
stdair
Forward declarations.
Definition: AIRINV_Master_Service.hpp:25
BucketStruct.hpp
AIRINV::LegCabinStruct::_saleableCapacity
stdair::CabinCapacity_T _saleableCapacity
Definition: LegCabinStruct.hpp:27
AIRINV::LegCabinStruct::describe
const std::string describe() const
Definition: LegCabinStruct.cpp:15
AIRINV::LegCabinStruct::fill
void fill(stdair::LegCabin &) const
Definition: LegCabinStruct.cpp:38
AIRINV::BucketStructList_T
std::vector< BucketStruct > BucketStructList_T
Definition: BucketStruct.hpp:44
AIRINV
Definition: AIRINV_Master_Service.hpp:38
AIRINV::LegCabinStruct::_nav
stdair::Availability_T _nav
Definition: LegCabinStruct.hpp:34
AIRINV::LegCabinStruct::_gav
stdair::Availability_T _gav
Definition: LegCabinStruct.hpp:35
AIRINV::LegCabinStruct::_wlNbOfBookings
stdair::NbOfBookings_T _wlNbOfBookings
Definition: LegCabinStruct.hpp:39
AIRINV::LegCabinStruct
Definition: LegCabinStruct.hpp:24
AIRINV::LegCabinStructList_T
std::vector< LegCabinStruct > LegCabinStructList_T
Definition: LegCabinStruct.hpp:52
AIRINV::LegCabinStruct::_dcsRegrade
stdair::CapacityAdjustment_T _dcsRegrade
Definition: LegCabinStruct.hpp:29
AIRINV::LegCabinStruct::_adjustment
stdair::CapacityAdjustment_T _adjustment
Definition: LegCabinStruct.hpp:28
AIRINV::LegCabinStruct::_upr
stdair::UPR_T _upr
Definition: LegCabinStruct.hpp:32
AIRINV::LegCabinStruct::_bucketList
BucketStructList_T _bucketList
Definition: LegCabinStruct.hpp:41