1.00.1
C++ Simulated Airline Inventory Management System library
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
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
}
AIRINV
Definition:
AIRINV_Master_Service.hpp:38
AIRINV::FRAT5Struct::FRAT5Struct
FRAT5Struct()
Definition:
FRAT5Struct.cpp:15
AIRINV::FRAT5Struct::~FRAT5Struct
~FRAT5Struct()
Definition:
FRAT5Struct.cpp:19
AIRINV::FRAT5Struct::_key
std::string _key
Definition:
FRAT5Struct.hpp:37
FRAT5Struct.hpp
AIRINV::FRAT5Struct::_curve
stdair::FRAT5Curve_T _curve
Definition:
FRAT5Struct.hpp:40
AIRINV::FRAT5Struct::describe
const std::string describe() const
Definition:
FRAT5Struct.cpp:23
Generated on Tue Jun 16 2015 01:10:59 for AirInv by
1.8.9.1