1.01.2
C++ Simulated Airline Travel Solution Provider (TSP) Library
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
LegCabinStruct.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/bom/LegCabin.hpp>
9
// AirTSP
10
#include <
airtsp/bom/LegCabinStruct.hpp
>
11
12
namespace
AIRTSP
{
13
14
// //////////////////////////////////////////////////////////////////////
15
const
std::string
LegCabinStruct::describe
()
const
{
16
std::ostringstream ostr;
17
ostr <<
" "
<<
_cabinCode
<<
" "
<<
_capacity
<<
", "
;
18
return
ostr.str();
19
}
20
21
// //////////////////////////////////////////////////////////////////////
22
void
LegCabinStruct::fill
(stdair::LegCabin& ioLegCabin)
const
{
23
// Set the Capacity
24
ioLegCabin.setCapacities (
_capacity
);
25
}
26
27
}
LegCabinStruct.hpp
AIRTSP::LegCabinStruct::fill
void fill(stdair::LegCabin &) const
Definition:
LegCabinStruct.cpp:22
AIRTSP::LegCabinStruct::_capacity
stdair::CabinCapacity_T _capacity
Definition:
LegCabinStruct.hpp:25
AIRTSP::LegCabinStruct::describe
const std::string describe() const
Definition:
LegCabinStruct.cpp:15
AIRTSP
Definition:
AIRTSP_Service.hpp:23
AIRTSP::LegCabinStruct::_cabinCode
stdair::CabinCode_T _cabinCode
Definition:
LegCabinStruct.hpp:24
Generated on Mon Jan 18 2016 14:40:15 for AirTSP by
1.8.10