StdAir Logo  1.00.3
C++ Standard Airline IT Object Library
BomJSONImport.hpp
Go to the documentation of this file.
1 #ifndef __STDAIR_BOM_BOMJSONIMPORT_HPP
2 #define __STDAIR_BOM_BOMJSONIMPORT_HPP
3 
4 // //////////////////////////////////////////////////////////////////////
5 // Import section
6 // //////////////////////////////////////////////////////////////////////
7 // STL
8 #include <string>
9 // StdAir
15 
16 
17 namespace stdair {
18 
20  class JSONString;
21  class ConfigHolderStruct;
22 
26  class BomJSONImport {
27  public:
28  // //////////////// Import support methods /////////////////
36  static bool jsonImportCommand (const JSONString&,
45  static bool jsonImportInventoryKey (const JSONString&,
46  AirlineCode_T&);
47 
55  static bool jsonImportFlightDate (const JSONString&,
56  Date_T&);
57 
65  static bool jsonImportFlightNumber (const JSONString&,
67 
75  static bool jsonImportBreakPoints (const JSONString&,
77 
85  static bool jsonImportEventType (const JSONString&,
87 
96  static bool jsonImportConfig (const JSONString&,
98  };
99 
100 }
101 #endif // __STDAIR_BOM_BOMJSONIMPORT_HPP
unsigned short FlightNumber_T
static bool jsonImportCommand(const JSONString &, JSonCommand::EN_JSonCommand &)
Handle on the StdAir library context.
std::string AirlineCode_T
Utility class to import StdAir objects in a JSON format.
static bool jsonImportFlightNumber(const JSONString &, FlightNumber_T &)
std::list< BreakPointStruct > BreakPointList_T
boost::gregorian::date Date_T
static bool jsonImportFlightDate(const JSONString &, Date_T &)
static bool jsonImportConfig(const JSONString &, ConfigHolderStruct &)
static bool jsonImportEventType(const JSONString &, EventType::EN_EventType &)
JSON-formatted string.
Definition: stdair_json.hpp:16
static bool jsonImportBreakPoints(const JSONString &, BreakPointList_T &)
static bool jsonImportInventoryKey(const JSONString &, AirlineCode_T &)