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

RMOL::HistoricalDataHolderHolder Struct Reference

#include <rmol/bom/HistoricalDataHolderHolder.hpp>

Inheritance diagram for RMOL::HistoricalDataHolderHolder:
RMOL::StructAbstract

List of all members.

Public Member Functions

const short getNumberOfHistoricalDataHolder () const
const HistoricalDataHoldergetHistoricalDataHolder (const short i) const
void addHistoricalDataHolder (const HistoricalDataHolder iHDHolder)
void toStream (std::ostream &ioOut) const
const std::string describe () const
void display () const
virtual ~HistoricalDataHolderHolder ()
 HistoricalDataHolderHolder ()
virtual void fromStream (std::istream &ioIn)

Detailed Description

Holder of a HistoricalDataHolder object. [Usage example] When computing Q-equivalent bookings, multiple HistoricalDataHolders are needed. For example, a HistoricalDataHolder of 2009/09/02 AD101 NCE->CDG Y & a HistoricalDataHolder of 2009/09/02 AD101 NCE->CDG K.

Definition at line 26 of file HistoricalDataHolderHolder.hpp.


Constructor & Destructor Documentation

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

Destructor.

Definition at line 26 of file HistoricalDataHolderHolder.cpp.

RMOL::HistoricalDataHolderHolder::HistoricalDataHolderHolder (  ) 

Constructor.
Protected to force the use of the Factory.

Definition at line 22 of file HistoricalDataHolderHolder.cpp.


Member Function Documentation

const short RMOL::HistoricalDataHolderHolder::getNumberOfHistoricalDataHolder (  )  const [inline]

Get the number of HistoricalDataHolder

Definition at line 31 of file HistoricalDataHolderHolder.hpp.

Referenced by toStream().

const HistoricalDataHolder& RMOL::HistoricalDataHolderHolder::getHistoricalDataHolder ( const short  i  )  const [inline]

Get the (i+1)th HistoricalDataHolder.

Definition at line 36 of file HistoricalDataHolderHolder.hpp.

void RMOL::HistoricalDataHolderHolder::addHistoricalDataHolder ( const HistoricalDataHolder  iHDHolder  )  [inline]

Add a HistoricalData object to the holder.

Definition at line 42 of file HistoricalDataHolderHolder.hpp.

void RMOL::HistoricalDataHolderHolder::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.

Definition at line 31 of file HistoricalDataHolderHolder.cpp.

References RMOL::HistoricalDataHolder::display(), and getNumberOfHistoricalDataHolder().

Referenced by display().

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

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

Implements RMOL::StructAbstract.

Definition at line 44 of file HistoricalDataHolderHolder.cpp.

void RMOL::HistoricalDataHolderHolder::display (  )  const

Display on standard output.

Definition at line 52 of file HistoricalDataHolderHolder.cpp.

References toStream().

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 files:
SourceForge Logo

Generated on Fri Jul 30 21:53:14 2010 for RMOL by Doxygen 1.6.1