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
FlightPeriodKey.hpp
Go to the documentation of this file.
1
#ifndef __STDAIR_BOM_FLIGHTPERIODKEY_HPP
2
#define __STDAIR_BOM_FLIGHTPERIODKEY_HPP
3
4
// //////////////////////////////////////////////////////////////////////
5
// Import section
6
// //////////////////////////////////////////////////////////////////////
7
// STDAIR
8
#include <
stdair/bom/KeyAbstract.hpp
>
9
#include <
stdair/bom/PeriodStruct.hpp
>
10
11
namespace
stdair {
13
struct
FlightPeriodKey
:
public
KeyAbstract
{
14
15
private
:
16
// /////////// Default constructor //////////
17
FlightPeriodKey
();
18
public
:
19
// /////////// Construction ///////////
21
FlightPeriodKey
(
const
FlightNumber_T
&,
const
PeriodStruct
&);
22
FlightPeriodKey
(
const
FlightPeriodKey
&);
24
~FlightPeriodKey
();
25
26
// /////////// Getters //////////
28
const
FlightNumber_T
&
getFlightNumber
()
const
{
29
return
_flightNumber;
30
}
31
33
const
PeriodStruct
&
getPeriod
()
const
{
34
return
_period;
35
}
36
37
// /////////// Display support methods /////////
40
void
toStream
(std::ostream& ioOut)
const
;
41
44
void
fromStream
(std::istream& ioIn);
45
51
const
std::string
toString
()
const
;
52
53
private
:
54
// Attributes
56
FlightNumber_T
_flightNumber;
57
59
PeriodStruct
_period;
60
61
};
62
63
}
64
#endif // __STDAIR_BOM_FLIGHTPERIODKEY_HPP
Generated on Sat Dec 22 2012 16:51:53 for StdAir by
1.8.1.1