$treeview $search $mathjax
00001 // ////////////////////////////////////////////////////////////////////// 00002 // Import section 00003 // ////////////////////////////////////////////////////////////////////// 00004 // STL 00005 #include <cassert> 00006 // STDAIR 00007 #include <stdair/bom/FlightPeriod.hpp> 00008 00009 namespace stdair { 00010 00011 // //////////////////////////////////////////////////////////////////// 00012 FlightPeriod::FlightPeriod (const Key_T& iKey) 00013 : _key (iKey), _parent (NULL) { 00014 } 00015 00016 // //////////////////////////////////////////////////////////////////// 00017 FlightPeriod::FlightPeriod (const FlightPeriod& iFlightPeriod) 00018 : _key (iFlightPeriod.getKey()), _parent (NULL) { 00019 } 00020 00021 // //////////////////////////////////////////////////////////////////// 00022 FlightPeriod::~FlightPeriod () { 00023 } 00024 00025 // //////////////////////////////////////////////////////////////////// 00026 std::string FlightPeriod::toString() const { 00027 std::ostringstream oStr; 00028 oStr << describeKey(); 00029 return oStr.str(); 00030 } 00031 00032 } 00033