AirInv Logo  1.00.0
C++ Simulated Airline Inventory Management System library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
AIRINV::BucketStruct Struct Reference

Utility Structure for the parsing of Bucket structures. More...

#include <airinv/bom/BucketStruct.hpp>

+ Inheritance diagram for AIRINV::BucketStruct:

List of all members.

Public Member Functions

void fill (stdair::Bucket &) const
const std::string describe () const
 BucketStruct ()

Public Attributes

stdair::Yield_T _yieldRangeUpperValue
stdair::CabinCapacity_T _availability
stdair::NbOfSeats_T _nbOfSeats
stdair::SeatIndex_T _seatIndex

Detailed Description

Utility Structure for the parsing of Bucket structures.

Definition at line 26 of file BucketStruct.hpp.


Constructor & Destructor Documentation

AIRINV::BucketStruct::BucketStruct ( )

Default Constructor.

Definition at line 16 of file BucketStruct.cpp.


Member Function Documentation

void AIRINV::BucketStruct::fill ( stdair::Bucket &  ioBucket) const

Fill the Bucket objects with the attributes of the BucketStruct.

Definition at line 29 of file BucketStruct.cpp.

References _availability, _nbOfSeats, and _yieldRangeUpperValue.

const std::string AIRINV::BucketStruct::describe ( ) const

Give a description of the structure (for display purposes).

Definition at line 20 of file BucketStruct.cpp.

References _availability, _nbOfSeats, _seatIndex, and _yieldRangeUpperValue.

Referenced by AIRINV::LegCabinStruct::describe().


Member Data Documentation

stdair::CabinCapacity_T AIRINV::BucketStruct::_availability
stdair::NbOfSeats_T AIRINV::BucketStruct::_nbOfSeats

Definition at line 30 of file BucketStruct.hpp.

Referenced by describe(), and fill().

stdair::SeatIndex_T AIRINV::BucketStruct::_seatIndex

The documentation for this struct was generated from the following files: