$treeview $search $mathjax
RMOL Logo  1.00.0
$projectbrief
$projectbrief
$searchbox

rmol/command/Detruncator.cpp

Go to the documentation of this file.
00001 // //////////////////////////////////////////////////////////////////////
00002 // Import section
00003 // //////////////////////////////////////////////////////////////////////
00004 // STL
00005 #include <cassert>
00006 // StdAir
00007 #include <stdair/basic/UnconstrainingMethod.hpp>
00008 #include <stdair/service/Logger.hpp>
00009 // RMOL
00010 #include <rmol/bom/HistoricalBookingHolder.hpp>
00011 #include <rmol/bom/EMDetruncator.hpp>
00012 #include <rmol/command/Detruncator.hpp>
00013 
00014 namespace RMOL {
00015   // ////////////////////////////////////////////////////////////////////  
00016   void Detruncator::
00017   unconstrain (HistoricalBookingHolder& ioHBHolder,
00018                const stdair::UnconstrainingMethod& iMethod) {
00019     const stdair::UnconstrainingMethod::EN_UnconstrainingMethod& lUnconstrainingMethod =
00020       iMethod.getMethod();
00021     switch (lUnconstrainingMethod) {
00022     case stdair::UnconstrainingMethod::EM: {
00023       EMDetruncator::unconstrain (ioHBHolder);
00024       break;
00025     }
00026     default: {
00027       assert (false);
00028       break;
00029     }
00030     }
00031   }
00032 }
00033