AirTSP Logo  1.01.0
C++ Simulated Airline Travel Solution Provider Library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Simulator.cpp
Go to the documentation of this file.
1 // //////////////////////////////////////////////////////////////////////
2 // Import section
3 // //////////////////////////////////////////////////////////////////////
4 // STL
5 #include <cassert>
6 #include <string>
7 #include <sstream>
8 // StdAir
9 #include <stdair/basic/BasConst_General.hpp>
10 #include <stdair/bom/BomManager.hpp>
11 #include <stdair/bom/BookingRequestStruct.hpp>
12 #include <stdair/service/Logger.hpp>
13 // AirTSP
15 
16 namespace AIRTSP {
17 
18  // //////////////////////////////////////////////////////////////////////
19  void Simulator::simulate (stdair::BomRoot& ioBomRoot) {
20 
21  // Delegate to the dedicated StdAir utility class
22  // std::ostringstream oStream;
23  // stdair::BomManager::display (oStream, ioBomRoot);
24 
25  // DEBUG
26  // STDAIR_LOG_DEBUG ("BOM Tree: ");
27  // STDAIR_LOG_DEBUG (oStream.str());
28 
29  // TODO: do not hardcode the booking request (get it from the
30  // demand generation module instead).
31  // stdair::BookingRequestStruct ("LHR", "JFK", stdair::Date_T (2009, 01, 16),
32  // stdair::DEFAULT_DATETIME, "Y", 1);
33  }
34 
35 }