StdAir Logo  0.45.0
C++ Standard Airline IT Object Library
BomJSONImport.hpp
Go to the documentation of this file.
00001 #ifndef __STDAIR_BOM_BOMJSONIMPORT_HPP
00002 #define __STDAIR_BOM_BOMJSONIMPORT_HPP
00003 
00004 // //////////////////////////////////////////////////////////////////////
00005 // Import section
00006 // //////////////////////////////////////////////////////////////////////
00007 // STL
00008 #include <string>
00009 // StdAir
00010 #include <stdair/stdair_basic_types.hpp>
00011 #include <stdair/stdair_date_time_types.hpp>
00012 
00013 namespace stdair {
00014 
00018   class BomJSONImport {
00019   public:
00020     // //////////////// Import support methods /////////////////
00028     static bool jsonImportInventoryKey (const std::string& iBomKey,
00029                                         AirlineCode_T&);
00030 
00039     static bool jsonImportFlightDateKey (const std::string& iBomKey,
00040                                          FlightNumber_T&,
00041                                          Date_T& ioDepartureDate);
00042   };
00043 
00044 }
00045 #endif // __STDAIR_BOM_BOMJSONIMPORT_HPP