StdAir Logo  1.00.8
C++ Standard Airline IT Object Library
FlightPeriod.cpp
Go to the documentation of this file.
1 // //////////////////////////////////////////////////////////////////////
2 // Import section
3 // //////////////////////////////////////////////////////////////////////
4 // STL
5 #include <cassert>
6 // STDAIR
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  // ////////////////////////////////////////////////////////////////////
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::FlightPeriodKey
Definition: FlightPeriodKey.hpp:13
stdair::FlightPeriod::describeKey
const std::string describeKey() const
Definition: FlightPeriod.hpp:59
stdair::FlightPeriod::toString
std::string toString() const
Definition: FlightPeriod.cpp:26
stdair
Handle on the StdAir library context.
Definition: BasChronometer.cpp:9
stdair::FlightPeriod
Definition: FlightPeriod.hpp:15
stdair::FlightPeriod::~FlightPeriod
~FlightPeriod()
Definition: FlightPeriod.cpp:22