$treeview $search $mathjax
AirTSP Logo  1.01.2
$projectbrief
$projectbrief
$searchbox

LegCabinStruct.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/bom/LegCabin.hpp>
00009 // AirTSP
00010 #include <airtsp/bom/LegCabinStruct.hpp>
00011 
00012 namespace AIRTSP {
00013 
00014   // //////////////////////////////////////////////////////////////////////
00015   const std::string LegCabinStruct::describe() const {
00016     std::ostringstream ostr;
00017     ostr << "        " << _cabinCode << " " << _capacity << ", ";
00018     return ostr.str();
00019   }
00020 
00021   // //////////////////////////////////////////////////////////////////////
00022   void LegCabinStruct::fill (stdair::LegCabin& ioLegCabin) const {
00023     // Set the Capacity
00024     ioLegCabin.setCapacities (_capacity);
00025   }
00026 
00027 }