Key of time-period. More...
#include <stdair/bom/TimePeriodKey.hpp>
Public Member Functions | |
TimePeriodKey (const Time_T &, const Time_T &) | |
TimePeriodKey (const TimePeriodKey &) | |
~TimePeriodKey () | |
const Time_T & | getTimeRangeStart () const |
const Time_T & | getTimeRangeEnd () const |
void | toStream (std::ostream &ioOut) const |
void | fromStream (std::istream &ioIn) |
const std::string | toString () const |
Key of time-period.
Definition at line 15 of file TimePeriodKey.hpp.
stdair::TimePeriodKey::TimePeriodKey | ( | const Time_T & | iTimeRangeStart, |
const Time_T & | iTimeRangeEnd | ||
) |
Main constructor.
Definition at line 21 of file TimePeriodKey.cpp.
stdair::TimePeriodKey::TimePeriodKey | ( | const TimePeriodKey & | iKey | ) |
Copy constructor.
Definition at line 28 of file TimePeriodKey.cpp.
stdair::TimePeriodKey::~TimePeriodKey | ( | ) |
Destructor.
Definition at line 34 of file TimePeriodKey.cpp.
|
inline |
Get the time period start.
Definition at line 35 of file TimePeriodKey.hpp.
Referenced by stdair::TimePeriod::getTimeRangeStart().
|
inline |
Get the time period end.
Definition at line 42 of file TimePeriodKey.hpp.
Referenced by stdair::TimePeriod::getTimeRangeEnd().
|
virtual |
Dump a Business Object Key into an output stream.
ostream& | the output stream. |
Reimplemented from stdair::KeyAbstract.
Definition at line 38 of file TimePeriodKey.cpp.
References toString().
|
virtual |
Read a Business Object Key from an input stream.
istream& | the input stream. |
Reimplemented from stdair::KeyAbstract.
Definition at line 43 of file TimePeriodKey.cpp.
|
virtual |
Get the serialised version of the Business Object Key. That string is unique, at the level of a given Business Object, when among children of a given parent Business Object.
Reimplemented from stdair::KeyAbstract.
Definition at line 47 of file TimePeriodKey.cpp.
Referenced by stdair::TimePeriod::describeKey(), and toStream().