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 () { 00018 } 00019 00020 // //////////////////////////////////////////////////////////////////// 00021 std::string FlightPeriod::toString() const { 00022 std::ostringstream oStr; 00023 oStr << describeKey(); 00024 return oStr.str(); 00025 } 00026 00027 } 00028