1.00.0
C++ Standard Airline IT Object Library
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
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
8
#include <
stdair/bom/KeyAbstract.hpp
>
9
#include <
stdair/stdair_basic_types.hpp
>
10
11
namespace
stdair {
12
16
struct
AirportPairKey
:
public
KeyAbstract
{
17
18
public
:
19
// /////////// Construction ///////////
21
AirportPairKey
(
const
stdair::AirportCode_T
&,
22
const
stdair::AirportCode_T
&);
24
AirportPairKey
(
const
AirportPairKey
&);
26
~AirportPairKey
();
27
private
:
29
AirportPairKey
();
30
31
public
:
32
// /////////// Getters //////////
36
const
stdair::AirportCode_T
&
getBoardingPoint
()
const
{
37
return
_boardingPoint;
38
}
39
43
const
stdair::AirportCode_T
&
getOffPoint
()
const
{
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
Generated on Sat Dec 22 2012 16:51:53 for StdAir by
1.8.1.1