StdAir Logo  1.00.13
C++ Standard Airline IT Object Library
Loading...
Searching...
No Matches
AirportPairKey.hpp
Go to the documentation of this file.
1#ifndef __STDAIR_BOM_AIRPORTPAIRKEY_HPP
2#define __STDAIR_BOM_AIRPORTPAIRKEY_HPP
3
4// //////////////////////////////////////////////////////////////////////
5// Import section
6// //////////////////////////////////////////////////////////////////////
7// STDAIR
10
11namespace stdair {
12
16 struct AirportPairKey : public KeyAbstract {
17
18 public:
19 // /////////// Construction ///////////
27 private:
30
31 public:
32 // /////////// Getters //////////
37 return _boardingPoint;
38 }
39
44 return _offPoint;
45 }
46
47 // /////////// Display support methods /////////
53 void toStream (std::ostream& ioOut) const;
54
60 void fromStream (std::istream& ioIn);
61
67 const std::string toString() const;
68
69 private:
70 // ///////////////// Attributes ///////////////////
74 AirportCode_T _boardingPoint;
75
79 AirportCode_T _offPoint;
80 };
81
82}
83#endif // __SIMFQT_BOM_AIRPORTPAIRKEY_HPP
Handle on the StdAir library context.
LocationCode_T AirportCode_T
Key of airport-pair.
const std::string toString() const
const stdair::AirportCode_T & getOffPoint() const
void fromStream(std::istream &ioIn)
void toStream(std::ostream &ioOut) const
const stdair::AirportCode_T & getBoardingPoint() const
Base class for the keys of Business Object Model (BOM) layer.