$treeview $search $mathjax
AirInv Logo  1.00.0
$projectbrief
$projectbrief
$searchbox

FRAT5Struct.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/service/Logger.hpp>
00009 // AIRINV
00010 #include <airinv/bom/FRAT5Struct.hpp>
00011 
00012 namespace AIRINV {
00013 
00014   // ////////////////////////////////////////////////////////////////////
00015   FRAT5Struct::FRAT5Struct() {
00016   }
00017 
00018   // ////////////////////////////////////////////////////////////////////
00019   FRAT5Struct::~FRAT5Struct() {
00020   }
00021   
00022   // ////////////////////////////////////////////////////////////////////
00023   const std::string FRAT5Struct::describe() const {
00024     std::ostringstream oStr;
00025     oStr << _key << "; ";
00026     for (stdair::FRAT5Curve_T::const_reverse_iterator itFRAT5 = _curve.rbegin();
00027          itFRAT5 != _curve.rend(); ++itFRAT5) {
00028       const stdair::DTD_T& lDTD = itFRAT5->first;
00029       const double& lFRAT5 = itFRAT5->second;
00030       oStr << lDTD << ":" << lFRAT5 << ";";
00031     }
00032     
00033     return oStr.str();
00034   }
00035 
00036 }