1.00.0
C++ Simulated Airline Inventory Management System library
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
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
10
#include <
airinv/bom/FRAT5Struct.hpp
>
11
12
namespace
AIRINV {
13
14
// ////////////////////////////////////////////////////////////////////
15
FRAT5Struct::FRAT5Struct
() {
16
}
17
18
// ////////////////////////////////////////////////////////////////////
19
FRAT5Struct::~FRAT5Struct
() {
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
}
Generated on Tue Dec 25 2012 22:19:42 for AirInv by
1.8.1.1