RMOL Logo Get Revenue Management Optimisation Library at SourceForge.net. Fast, secure and Free Open Source software downloads
RMOL::HistoricalBooking Struct Reference

#include <rmol/bom/HistoricalBooking.hpp>

Inheritance diagram for RMOL::HistoricalBooking:
RMOL::StructAbstract

List of all members.

Public Member Functions

const double & getNumberOfBookings () const
const double & getUnconstrainedDemand () const
const bool & getFlag () const
void setUnconstrainedDemand (const double iDemand)
void setParameters (const double, const bool)
void toStream (std::ostream &ioOut) const
const std::string describe () const
void display () const
virtual ~HistoricalBooking ()
 HistoricalBooking ()
 HistoricalBooking (const HistoricalBooking &)
virtual void fromStream (std::istream &ioIn)

Detailed Description

HistoricalBooking for a given class and the flag of censorship.

Definition at line 14 of file HistoricalBooking.hpp.


Constructor & Destructor Documentation

virtual RMOL::HistoricalBooking::~HistoricalBooking ( ) [virtual]

Destructors.

RMOL::HistoricalBooking::HistoricalBooking ( )

Constructors.
Protected to force the use of the Factory.

RMOL::HistoricalBooking::HistoricalBooking ( const HistoricalBooking )

Member Function Documentation

const double& RMOL::HistoricalBooking::getNumberOfBookings ( ) const [inline]

Getter for the booking.

Definition at line 19 of file HistoricalBooking.hpp.

const double& RMOL::HistoricalBooking::getUnconstrainedDemand ( ) const [inline]

Getter for the unconstrained bookings.

Definition at line 23 of file HistoricalBooking.hpp.

const bool& RMOL::HistoricalBooking::getFlag ( ) const [inline]

Getter for the flag of censorship: "false" means that the bookings are not censored.

Definition at line 28 of file HistoricalBooking.hpp.

void RMOL::HistoricalBooking::setUnconstrainedDemand ( const double  iDemand) [inline]

Setter for the unconstraining demand.

Definition at line 33 of file HistoricalBooking.hpp.

void RMOL::HistoricalBooking::setParameters ( const double  ,
const bool   
)

Setter for all parameters (no of bkgs, flag).

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

Dump a Business Object into an output stream.

Parameters:
ostream&the output stream
Returns:
ostream& the output stream.

Reimplemented from RMOL::StructAbstract.

const std::string RMOL::HistoricalBooking::describe ( ) const [virtual]

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

Implements RMOL::StructAbstract.

void RMOL::HistoricalBooking::display ( ) const

Display on standard output.

virtual void RMOL::StructAbstract::fromStream ( std::istream &  ioIn) [inline, virtual, inherited]

Read a Business Object from an input stream.

Parameters:
istream&the input stream.

Definition at line 29 of file StructAbstract.hpp.

Referenced by operator>>().


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