1.00.12
C++ Standard Airline IT Object Library
Loading...
Searching...
No Matches
FlightPeriod.cpp
Go to the documentation of this file.
1
// //////////////////////////////////////////////////////////////////////
2
// Import section
3
// //////////////////////////////////////////////////////////////////////
4
// STL
5
#include <cassert>
6
// STDAIR
7
#include <
stdair/bom/FlightPeriod.hpp
>
8
9
namespace
stdair
{
10
11
// ////////////////////////////////////////////////////////////////////
12
FlightPeriod::FlightPeriod (
const
Key_T
& iKey)
13
: _key (iKey), _parent (NULL) {
14
}
15
16
// ////////////////////////////////////////////////////////////////////
17
FlightPeriod::FlightPeriod (
const
FlightPeriod
& iFlightPeriod)
18
: _key (iFlightPeriod.getKey()), _parent (NULL) {
19
}
20
21
// ////////////////////////////////////////////////////////////////////
22
FlightPeriod::~FlightPeriod
() {
23
}
24
25
// ////////////////////////////////////////////////////////////////////
26
std::string
FlightPeriod::toString
()
const
{
27
std::ostringstream oStr;
28
oStr <<
describeKey
();
29
return
oStr.str();
30
}
31
32
}
33
FlightPeriod.hpp
stdair
Handle on the StdAir library context.
Definition:
BasChronometer.cpp:9
stdair::FlightPeriod
Definition:
FlightPeriod.hpp:15
stdair::FlightPeriod::toString
std::string toString() const
Definition:
FlightPeriod.cpp:26
stdair::FlightPeriod::~FlightPeriod
~FlightPeriod()
Definition:
FlightPeriod.cpp:22
stdair::FlightPeriod::describeKey
const std::string describeKey() const
Definition:
FlightPeriod.hpp:59
stdair::FlightPeriodKey
Definition:
FlightPeriodKey.hpp:13
Generated for StdAir by
1.9.5