#include <stdair/bom/LegDateKey.hpp>
Public Member Functions | |
LegDateKey (const AirportCode_T &iBoardingPoint) | |
LegDateKey (const LegDateKey &) | |
~LegDateKey () | |
const AirportCode_T & | getBoardingPoint () const |
void | toStream (std::ostream &ioOut) const |
void | fromStream (std::istream &ioIn) |
const std::string | toString () const |
Key of a given leg-date, made of an origin airport.
Definition at line 16 of file LegDateKey.hpp.
stdair::LegDateKey::LegDateKey | ( | const AirportCode_T & | iBoardingPoint | ) |
Constructor.
Definition at line 19 of file LegDateKey.cpp.
stdair::LegDateKey::LegDateKey | ( | const LegDateKey & | iKey | ) |
Default copy constructor.
Definition at line 24 of file LegDateKey.cpp.
stdair::LegDateKey::~LegDateKey | ( | ) |
Destructor.
Definition at line 29 of file LegDateKey.cpp.
|
inline |
Get the boarding point.
Definition at line 34 of file LegDateKey.hpp.
Referenced by stdair::LegDate::getBoardingPoint().
|
virtual |
Dump a Business Object Key into an output stream.
ostream& | the output stream. |
Reimplemented from stdair::KeyAbstract.
Definition at line 33 of file LegDateKey.cpp.
References toString().
|
virtual |
Read a Business Object Key from an input stream.
istream& | the input stream. |
Reimplemented from stdair::KeyAbstract.
Definition at line 38 of file LegDateKey.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.
For instance, "H" and "K" allow to differentiate among two marketing classes for the same leg-date.
Reimplemented from stdair::KeyAbstract.
Definition at line 42 of file LegDateKey.cpp.
Referenced by stdair::LegDate::describeKey(), stdair::FlightDate::getLegDate(), and toStream().