StdAir Logo  1.00.16
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
8
9namespace 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 // ////////////////////////////////////////////////////////////////////
24
25 // ////////////////////////////////////////////////////////////////////
26 std::string FlightPeriod::toString() const {
27 std::ostringstream oStr;
28 oStr << describeKey();
29 return oStr.str();
30 }
31
32}
33
Handle on the StdAir library context.
std::string toString() const
const std::string describeKey() const