$treeview $search $mathjax
00001 // ////////////////////////////////////////////////////////////////////// 00002 // Import section 00003 // ////////////////////////////////////////////////////////////////////// 00004 // StdAir 00005 #include <stdair/bom/YieldStoreKey.hpp> 00006 00007 namespace stdair { 00008 00009 // //////////////////////////////////////////////////////////////////// 00010 YieldStoreKey::YieldStoreKey (const AirlineCode_T& iAirlineCode) 00011 : _airlineCode (iAirlineCode) { 00012 } 00013 // //////////////////////////////////////////////////////////////////// 00014 YieldStoreKey::YieldStoreKey (const YieldStoreKey& iKey) 00015 : _airlineCode (iKey._airlineCode) { 00016 } 00017 00018 // //////////////////////////////////////////////////////////////////// 00019 YieldStoreKey::~YieldStoreKey () { 00020 } 00021 00022 // //////////////////////////////////////////////////////////////////// 00023 void YieldStoreKey::toStream (std::ostream& ioOut) const { 00024 ioOut << "YieldStoreKey: " << toString() << std::endl; 00025 } 00026 00027 // //////////////////////////////////////////////////////////////////// 00028 void YieldStoreKey::fromStream (std::istream& ioIn) { 00029 } 00030 00031 // //////////////////////////////////////////////////////////////////// 00032 const std::string YieldStoreKey::toString() const { 00033 std::ostringstream oStr; 00034 oStr << _airlineCode; 00035 return oStr.str(); 00036 } 00037 00038 }