AirInv Logo  1.00.7
C++ Simulated Airline Inventory Management System Library
FRAT5Struct.cpp
Go to the documentation of this file.
1// //////////////////////////////////////////////////////////////////////
2// Import section
3// //////////////////////////////////////////////////////////////////////
4// STL
5#include <cassert>
6#include <sstream>
7// StdAir
8#include <stdair/service/Logger.hpp>
9// AIRINV
11
12namespace AIRINV {
13
14 // ////////////////////////////////////////////////////////////////////
16 }
17
18 // ////////////////////////////////////////////////////////////////////
20 }
21
22 // ////////////////////////////////////////////////////////////////////
23 const std::string FRAT5Struct::describe() const {
24 std::ostringstream oStr;
25 oStr << _key << "; ";
26 for (stdair::FRAT5Curve_T::const_reverse_iterator itFRAT5 = _curve.rbegin();
27 itFRAT5 != _curve.rend(); ++itFRAT5) {
28 const stdair::DTD_T& lDTD = itFRAT5->first;
29 const double& lFRAT5 = itFRAT5->second;
30 oStr << lDTD << ":" << lFRAT5 << ";";
31 }
32
33 return oStr.str();
34 }
35
36}
const std::string describe() const
Definition: FRAT5Struct.cpp:23
stdair::FRAT5Curve_T _curve
Definition: FRAT5Struct.hpp:40