#include <stdair/bom/AirlineFeatureKey.hpp>
Public Member Functions | |
AirlineFeatureKey (const AirlineCode_T &iAirlineCode) | |
~AirlineFeatureKey () | |
const AirlineCode_T & | getAirlineCode () const |
void | toStream (std::ostream &ioOut) const |
void | fromStream (std::istream &ioIn) |
const std::string | toString () const |
Key of AirlineFeature.
Definition at line 15 of file AirlineFeatureKey.hpp.
stdair::AirlineFeatureKey::AirlineFeatureKey | ( | const AirlineCode_T & | iAirlineCode | ) |
Constructor.
Definition at line 12 of file AirlineFeatureKey.cpp.
stdair::AirlineFeatureKey::~AirlineFeatureKey | ( | ) |
Destructor.
Definition at line 17 of file AirlineFeatureKey.cpp.
|
inline |
Get the airline code.
Definition at line 27 of file AirlineFeatureKey.hpp.
|
virtual |
Dump a Business Object Key into an output stream.
ostream& | the output stream. |
Reimplemented from stdair::KeyAbstract.
Definition at line 21 of file AirlineFeatureKey.cpp.
References toString().
|
virtual |
Read a Business Object Key from an input stream.
istream& | the input stream. |
Reimplemented from stdair::KeyAbstract.
Definition at line 26 of file AirlineFeatureKey.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 segment-date.
Reimplemented from stdair::KeyAbstract.
Definition at line 30 of file AirlineFeatureKey.cpp.
Referenced by stdair::AirlineFeature::describeKey(), and toStream().