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
SegmentPeriodKey.hpp
Go to the documentation of this file.
1
#ifndef __STDAIR_BOM_SEGMENTPERIODKEY_HPP
2
#define __STDAIR_BOM_SEGMENTPERIODKEY_HPP
3
4
// //////////////////////////////////////////////////////////////////////
5
// Import section
6
// //////////////////////////////////////////////////////////////////////
7
// StdAir
8
#include <
stdair/stdair_basic_types.hpp
>
9
#include <
stdair/bom/KeyAbstract.hpp
>
10
11
namespace
stdair {
12
14
struct
SegmentPeriodKey
:
public
KeyAbstract
{
15
16
private
:
17
// /////////// Default constructor //////////
18
SegmentPeriodKey
() { };
19
public
:
20
// /////////// Construction ///////////
22
SegmentPeriodKey
(
const
AirportCode_T
&,
const
AirportCode_T
&);
23
SegmentPeriodKey
(
const
SegmentPeriodKey
&);
25
~SegmentPeriodKey
();
26
27
// /////////// Getters //////////
29
const
AirportCode_T
&
getBoardingPoint
()
const
{
30
return
_boardingPoint;
31
}
32
34
const
AirportCode_T
&
getOffPoint
()
const
{
35
return
_offPoint;
36
}
37
38
// /////////// Display support methods /////////
41
void
toStream
(std::ostream& ioOut)
const
;
42
45
void
fromStream
(std::istream& ioIn);
46
52
const
std::string
toString
()
const
;
53
54
private
:
55
// Attributes
57
AirportCode_T
_boardingPoint;
58
60
AirportCode_T
_offPoint;
61
};
62
63
}
64
#endif // __STDAIR_BOM_SEGMENTPERIODKEY_HPP
Generated on Sat Dec 22 2012 16:51:54 for StdAir by
1.8.1.1