AirInv Logo  0.1.2
C++ Simulated Airline Inventory Management System library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Request.cpp
Go to the documentation of this file.
00001 // //////////////////////////////////////////////////////////////////////
00002 // Import section
00003 // //////////////////////////////////////////////////////////////////////
00004 // STL
00005 #include <cassert>
00006 // AirInv
00007 #include <airinv/server/Request.hpp>
00008 
00009 namespace AIRINV {
00010 
00011   // //////////////////////////////////////////////////////////////////////
00012   bool Request::parseFlightDate () {
00013     bool hasBeenSuccessfull = false;
00014 
00015     //
00016     _airlineCode = "BA";
00017     _flightNumber = 341;
00018     _departureDate = stdair::Date_T (2010, 04, 20);
00019     
00020     //
00021     hasBeenSuccessfull = true;
00022     
00023     return hasBeenSuccessfull;
00024   }
00025   
00026 }