#include <stdair/bom/VirtualClassStruct.hpp>
Inheritance diagram for stdair::VirtualClassStruct:Public Member Functions | |
| const Yield_T & | getYield () const |
| const MeanValue_T & | getMean () const |
| const StdDevValue_T & | getStdDev () const |
| const BookingLimit_T & | getCumulatedBookingLimit () const |
| const ProtectionLevel_T & | getCumulatedProtection () const |
| const GeneratedDemandVector_T & | getGeneratedDemandVector () const |
| void | setYield (const Yield_T &iYield) |
| void | setMean (const MeanValue_T &iMean) |
| void | setStdDev (const StdDevValue_T &iStdDev) |
| void | setCumulatedBookingLimit (const BookingLimit_T &iBL) |
| void | setCumulatedProtection (const ProtectionLevel_T &iP) |
| void | toStream (std::ostream &ioOut) const |
| void | fromStream (std::istream &ioIn) |
| const std::string | describe () const |
| VirtualClassStruct (const VirtualClassStruct &) | |
| VirtualClassStruct (BookingClass &) | |
| ~VirtualClassStruct () | |
Structure holding the elements of a virtual class.
Definition at line 23 of file VirtualClassStruct.hpp.
| stdair::VirtualClassStruct::VirtualClassStruct | ( | const VirtualClassStruct & | iVC | ) |
Constructor.
Definition at line 19 of file VirtualClassStruct.cpp.
| stdair::VirtualClassStruct::VirtualClassStruct | ( | BookingClass & | ioBookingClass | ) |
Default copy constructor.
Definition at line 25 of file VirtualClassStruct.cpp.
| stdair::VirtualClassStruct::~VirtualClassStruct | ( | ) |
Destructor.
Definition at line 30 of file VirtualClassStruct.cpp.
| const Yield_T& stdair::VirtualClassStruct::getYield | ( | ) | const [inline] |
Get the yield (average price paid for that virtual class).
Definition at line 27 of file VirtualClassStruct.hpp.
Referenced by stdair::LegCabin::displayVirtualClassList().
| const MeanValue_T& stdair::VirtualClassStruct::getMean | ( | ) | const [inline] |
Get the mean value of the demand distribution.
Definition at line 32 of file VirtualClassStruct.hpp.
| const StdDevValue_T& stdair::VirtualClassStruct::getStdDev | ( | ) | const [inline] |
Get the standard deviation of the demand distribution.
Definition at line 37 of file VirtualClassStruct.hpp.
| const BookingLimit_T& stdair::VirtualClassStruct::getCumulatedBookingLimit | ( | ) | const [inline] |
Get the booking limit of the class.
Definition at line 42 of file VirtualClassStruct.hpp.
Referenced by stdair::LegCabin::displayVirtualClassList().
| const ProtectionLevel_T& stdair::VirtualClassStruct::getCumulatedProtection | ( | ) | const [inline] |
Get the protection level of the class.
Definition at line 47 of file VirtualClassStruct.hpp.
Referenced by stdair::LegCabin::displayVirtualClassList().
| const GeneratedDemandVector_T & stdair::VirtualClassStruct::getGeneratedDemandVector | ( | ) | const |
Get the generated demand sample vector for Monte-Carlo method.
Definition at line 53 of file VirtualClassStruct.cpp.
References stdair::BookingClass::getGeneratedDemandVector().
| void stdair::VirtualClassStruct::setYield | ( | const Yield_T & | iYield | ) | [inline] |
Set the yield (average price paid for that virtual class).
Definition at line 57 of file VirtualClassStruct.hpp.
| void stdair::VirtualClassStruct::setMean | ( | const MeanValue_T & | iMean | ) | [inline] |
Set the mean value of the demand distribution.
Definition at line 62 of file VirtualClassStruct.hpp.
| void stdair::VirtualClassStruct::setStdDev | ( | const StdDevValue_T & | iStdDev | ) | [inline] |
Set the standard deviation of the demand distribution.
Definition at line 67 of file VirtualClassStruct.hpp.
| void stdair::VirtualClassStruct::setCumulatedBookingLimit | ( | const BookingLimit_T & | iBL | ) | [inline] |
Set the booking limit of the class.
Definition at line 72 of file VirtualClassStruct.hpp.
| void stdair::VirtualClassStruct::setCumulatedProtection | ( | const ProtectionLevel_T & | iP | ) | [inline] |
Set the protection level of the class.
Definition at line 77 of file VirtualClassStruct.hpp.
| void stdair::VirtualClassStruct::toStream | ( | std::ostream & | ioOut | ) | const |
Dump a Business Object into an output stream.
| ostream& | the output stream. |
Reimplemented from stdair::StructAbstract.
Definition at line 35 of file VirtualClassStruct.cpp.
References describe().
| void stdair::VirtualClassStruct::fromStream | ( | std::istream & | ioIn | ) | [virtual] |
Read a Business Object from an input stream.
| istream& | the input stream. |
Reimplemented from stdair::StructAbstract.
Definition at line 40 of file VirtualClassStruct.cpp.
| const std::string stdair::VirtualClassStruct::describe | ( | ) | const [virtual] |
Display of the structure.
Implements stdair::StructAbstract.
Definition at line 44 of file VirtualClassStruct.cpp.
Referenced by toStream().