RMOL Logo  1.00.0
C++ library of Revenue Management and Optimisation classes and functions
 All Classes Namespaces Files Functions Variables Typedefs Friends Pages
RMOL::HistoricalBooking Struct Reference

Structure keeping track, for a given class, of the number of historical bookings and of the censorship flag. More...

#include <rmol/bom/HistoricalBooking.hpp>

+ Inheritance diagram for RMOL::HistoricalBooking:

List of all members.

Public Member Functions

const stdair::NbOfBookings_T & getNbOfBookings () const
const stdair::NbOfBookings_T & getUnconstrainedDemand () const
const stdair::Flag_T & getFlag () const
void setUnconstrainedDemand (const stdair::NbOfBookings_T &iDemand)
void setParameters (const stdair::NbOfBookings_T, const stdair::Flag_T)
void toStream (std::ostream &ioOut) const
const std::string describe () const
void display () const
 HistoricalBooking (const stdair::NbOfBookings_T, const stdair::Flag_T)
 HistoricalBooking ()
 HistoricalBooking (const HistoricalBooking &)
virtual ~HistoricalBooking ()

Detailed Description

Structure keeping track, for a given class, of the number of historical bookings and of the censorship flag.

Definition at line 17 of file HistoricalBooking.hpp.

Constructor & Destructor Documentation

RMOL::HistoricalBooking::HistoricalBooking ( const stdair::NbOfBookings_T  iNbOfBookings,
const stdair::Flag_T  iFlag 

Main constructor.

Definition at line 21 of file HistoricalBooking.cpp.

RMOL::HistoricalBooking::HistoricalBooking ( )

Default constructor.

Definition at line 15 of file HistoricalBooking.cpp.

RMOL::HistoricalBooking::HistoricalBooking ( const HistoricalBooking iHistoricalBooking)

Copy constructor.

Definition at line 29 of file HistoricalBooking.cpp.

RMOL::HistoricalBooking::~HistoricalBooking ( )


Definition at line 36 of file HistoricalBooking.cpp.

Member Function Documentation

const stdair::NbOfBookings_T& RMOL::HistoricalBooking::getUnconstrainedDemand ( ) const
const stdair::Flag_T& RMOL::HistoricalBooking::getFlag ( ) const
void RMOL::HistoricalBooking::setUnconstrainedDemand ( const stdair::NbOfBookings_T &  iDemand)

Setter for the unconstraining demand.

Definition at line 38 of file HistoricalBooking.hpp.

void RMOL::HistoricalBooking::setParameters ( const stdair::NbOfBookings_T  iNbOfBookings,
const stdair::Flag_T  iFlag 

Setter for all parameters.

Definition at line 41 of file HistoricalBooking.cpp.

void RMOL::HistoricalBooking::toStream ( std::ostream &  ioOut) const

Dump a Business Object into an output stream.

ostream&the output stream
ostream& the output stream.

Definition at line 57 of file HistoricalBooking.cpp.

References getFlag(), getNbOfBookings(), and getUnconstrainedDemand().

Referenced by display().

const std::string RMOL::HistoricalBooking::describe ( ) const

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

Definition at line 48 of file HistoricalBooking.cpp.

void RMOL::HistoricalBooking::display ( ) const

Display on standard output.

Definition at line 66 of file HistoricalBooking.cpp.

References toStream().

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