|
From: <qua...@us...> - 2010-07-08 15:25:06
|
Revision: 87
http://dsim.svn.sourceforge.net/dsim/?rev=87&view=rev
Author: quannaus
Date: 2010-07-08 15:25:00 +0000 (Thu, 08 Jul 2010)
Log Message:
-----------
[Dev] The (arbitrarily) chosen travel solution is displayed/logged.
Modified Paths:
--------------
trunk/dsim/dsim/command/Simulator.cpp
Modified: trunk/dsim/dsim/command/Simulator.cpp
===================================================================
--- trunk/dsim/dsim/command/Simulator.cpp 2010-07-07 15:11:26 UTC (rev 86)
+++ trunk/dsim/dsim/command/Simulator.cpp 2010-07-08 15:25:00 UTC (rev 87)
@@ -103,10 +103,13 @@
if (lTravelSolutionList.empty() == false) {
// Get the fare quote for each travel solution.
// Get the availability for each travel solution.
- ioSIMCRS_Service.getAvailability (lTravelSolutionList);
+ //ioSIMCRS_Service.getAvailability (lTravelSolutionList);
// Hardcode a travel solution choice.
// Make a sale.
// ioSIMCRS_Service.sell (lChosenTravelSolution, lNbOfSeats);
+ stdair::TravelSolutionList_T::iterator itTS = lTravelSolutionList.begin();
+ const stdair::TravelSolutionStruct& lChosenTS = *itTS;
+ STDAIR_LOG_DEBUG ("Chosen TS: " << lChosenTS);
} else {
// DEBUG
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|