1.00.1
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.cpp
Go to the documentation of this file.
1
// //////////////////////////////////////////////////////////////////////
2
// Import section
3
// //////////////////////////////////////////////////////////////////////
4
// STDAIR
5
#include <
stdair/bom/FlightPeriodKey.hpp
>
6
7
namespace
stdair {
8
9
// ////////////////////////////////////////////////////////////////////
10
FlightPeriodKey::FlightPeriodKey (
const
FlightNumber_T
& iFlightNumber,
11
const
PeriodStruct
& iPeriod)
12
: _flightNumber (iFlightNumber), _period (iPeriod) {
13
}
14
15
// ////////////////////////////////////////////////////////////////////
16
FlightPeriodKey::FlightPeriodKey (
const
FlightPeriodKey
& iKey)
17
: _flightNumber (iKey._flightNumber), _period (iKey._period) {
18
}
19
20
// ////////////////////////////////////////////////////////////////////
21
FlightPeriodKey::~FlightPeriodKey
() {
22
}
23
24
// ////////////////////////////////////////////////////////////////////
25
void
FlightPeriodKey::toStream
(std::ostream& ioOut)
const
{
26
ioOut <<
"FlightPeriodKey: "
<<
toString
() << std::endl;
27
}
28
29
// ////////////////////////////////////////////////////////////////////
30
void
FlightPeriodKey::fromStream
(std::istream& ioIn) {
31
}
32
33
// ////////////////////////////////////////////////////////////////////
34
const
std::string
FlightPeriodKey::toString
()
const
{
35
std::ostringstream oStr;
36
oStr << _flightNumber <<
", "
<< _period.
describeShort
();
37
return
oStr.str();
38
}
39
40
}
Generated on Thu Dec 27 2012 00:25:50 for StdAir by
1.8.1.2