StdAir Logo  0.45.1
C++ Standard Airline IT Object Library
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.

Copy constructor.

Definition at line 28 of file AirportPairKey.cpp.

Destructor.

Definition at line 34 of file AirportPairKey.cpp.


Member Function Documentation

Get the boarding point.

Definition at line 36 of file AirportPairKey.hpp.

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

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 [virtual]

Dump a Business Object Key into an output stream.

Parameters:
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) [virtual]

Read a Business Object Key from an input stream.

Parameters:
istream&the input stream.

Reimplemented from stdair::KeyAbstract.

Definition at line 43 of file AirportPairKey.cpp.

const std::string stdair::AirportPairKey::toString ( ) const [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 AirportPairKey.cpp.

References stdair::DEFAULT_KEY_SUB_FLD_DELIMITER.

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


The documentation for this struct was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines