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

Key of airport-pair. More...

#include <stdair/bom/AirportPairKey.hpp>

+ Inheritance diagram for stdair::AirportPairKey:

List of all members.

Public Member Functions

 AirportPairKey (const stdair::AirportCode_T &, const stdair::AirportCode_T &)
 AirportPairKey (const AirportPairKey &)
 ~AirportPairKey ()
const stdair::AirportCode_TgetBoardingPoint () const
const stdair::AirportCode_TgetOffPoint () const
void toStream (std::ostream &ioOut) const
void fromStream (std::istream &ioIn)
const std::string toString () const

Detailed Description

Key of airport-pair.

Definition at line 16 of file AirportPairKey.hpp.

Constructor & Destructor Documentation

stdair::AirportPairKey::AirportPairKey ( const stdair::AirportCode_T iBoardingPoint,
const stdair::AirportCode_T iOffPoint 

Main constructor.

Definition at line 22 of file AirportPairKey.cpp.

stdair::AirportPairKey::AirportPairKey ( const AirportPairKey iKey)

Copy constructor.

Definition at line 28 of file AirportPairKey.cpp.

stdair::AirportPairKey::~AirportPairKey ( )


Definition at line 34 of file AirportPairKey.cpp.

Member Function Documentation

const stdair::AirportCode_T& stdair::AirportPairKey::getBoardingPoint ( ) const

Get the boarding point.

Definition at line 36 of file AirportPairKey.hpp.

Referenced by stdair::AirportPair::getBoardingPoint().

const stdair::AirportCode_T& stdair::AirportPairKey::getOffPoint ( ) const

Get the arrival point.

Definition at line 43 of file AirportPairKey.hpp.

Referenced by stdair::AirportPair::getOffPoint().

void stdair::AirportPairKey::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 38 of file AirportPairKey.cpp.

References toString().

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

Read a Business Object Key from an input stream.

istream&the input stream.

Reimplemented from stdair::KeyAbstract.

Definition at line 43 of file AirportPairKey.cpp.

const std::string stdair::AirportPairKey::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.

Reimplemented from stdair::KeyAbstract.

Definition at line 47 of file AirportPairKey.cpp.


Referenced by stdair::AirportPair::describeKey(), stdair::BomRetriever::retrieveAirportPairFromKeySet(), and toStream().

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