StdAir Logo  1.00.0
C++ Standard Airline IT Object Library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
stdair::AirlineFeatureKey Struct Reference

#include <stdair/bom/AirlineFeatureKey.hpp>

+ Inheritance diagram for stdair::AirlineFeatureKey:

List of all members.

Public Member Functions

 AirlineFeatureKey (const AirlineCode_T &iAirlineCode)
 ~AirlineFeatureKey ()
const AirlineCode_TgetAirlineCode () const
void toStream (std::ostream &ioOut) const
void fromStream (std::istream &ioIn)
const std::string toString () const

Detailed Description

Key of AirlineFeature.

Definition at line 15 of file AirlineFeatureKey.hpp.

Constructor & Destructor Documentation

stdair::AirlineFeatureKey::AirlineFeatureKey ( const AirlineCode_T iAirlineCode)


Definition at line 12 of file AirlineFeatureKey.cpp.

stdair::AirlineFeatureKey::~AirlineFeatureKey ( )


Definition at line 17 of file AirlineFeatureKey.cpp.

Member Function Documentation

const AirlineCode_T& stdair::AirlineFeatureKey::getAirlineCode ( ) const

Get the airline code.

Definition at line 27 of file AirlineFeatureKey.hpp.

void stdair::AirlineFeatureKey::toStream ( std::ostream &  ioOut) const

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().

void stdair::AirlineFeatureKey::fromStream ( std::istream &  ioIn)

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.

const std::string stdair::AirlineFeatureKey::toString ( ) const

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().

The documentation for this struct was generated from the following files: