StdAir Logo  0.45.1
C++ Standard Airline IT Object Library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
YieldStore.cpp
Go to the documentation of this file.
00001 // //////////////////////////////////////////////////////////////////////
00002 // Import section
00003 // //////////////////////////////////////////////////////////////////////
00004 // STL
00005 #include <cassert>
00006 #include <sstream>
00007 // StdAir
00008 #include <stdair/bom/YieldStore.hpp>
00009 
00010 namespace stdair {
00011 
00012   // ////////////////////////////////////////////////////////////////////
00013   YieldStore::YieldStore (const Key_T& iKey) : _key (iKey), _parent (NULL) {
00014   }
00015 
00016   // ////////////////////////////////////////////////////////////////////
00017   YieldStore::~YieldStore () {
00018   }
00019 
00020   // ////////////////////////////////////////////////////////////////////
00021   std::string YieldStore::toString() const {
00022     std::ostringstream oStr;
00023     oStr << _key.toString();
00024     return oStr.str();
00025   }
00026 
00027 }
00028