#include <rmol/bom/HistoricalDataHolderHolder.hpp>
Public Member Functions | |
const short | getNumberOfHistoricalDataHolder () const |
const HistoricalDataHolder & | getHistoricalDataHolder (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) |
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.
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.
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.
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.
istream& | the input stream. |
Definition at line 29 of file StructAbstract.hpp.
Referenced by operator>>().
Generated on Sat Aug 13 2011 11:59:38 for RMOL by Doxygen 1.7.1