1.00.26
C++ Standard Airline IT Object Library
Toggle main menu visibility
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
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
KeyAbstract.hpp
stdair_basic_types.hpp
stdair
Handle on the StdAir library context.
Definition
BasChronometer.cpp:9
stdair::AirportCode_T
LocationCode_T AirportCode_T
Definition
stdair_basic_types.hpp:22
stdair::AirportPairKey::toString
const std::string toString() const
Definition
AirportPairKey.cpp:47
stdair::AirportPairKey::~AirportPairKey
~AirportPairKey()
Definition
AirportPairKey.cpp:34
stdair::AirportPairKey::getOffPoint
const stdair::AirportCode_T & getOffPoint() const
Definition
AirportPairKey.hpp:43
stdair::AirportPairKey::AirportPairKey
AirportPairKey(const stdair::AirportCode_T &, const stdair::AirportCode_T &)
Definition
AirportPairKey.cpp:22
stdair::AirportPairKey::fromStream
void fromStream(std::istream &ioIn)
Definition
AirportPairKey.cpp:43
stdair::AirportPairKey::toStream
void toStream(std::ostream &ioOut) const
Definition
AirportPairKey.cpp:38
stdair::AirportPairKey::getBoardingPoint
const stdair::AirportCode_T & getBoardingPoint() const
Definition
AirportPairKey.hpp:36
stdair::KeyAbstract
Base class for the keys of Business Object Model (BOM) layer.
Definition
KeyAbstract.hpp:27
Generated for StdAir by
1.17.0