Utility class to import StdAir objects in a JSON format. More...
#include <stdair/bom/BomJSONImport.hpp>
Static Public Member Functions | |
| static bool | jsonImportInventoryKey (const std::string &iBomKey, AirlineCode_T &) |
| static bool | jsonImportFlightDateKey (const std::string &iBomKey, FlightNumber_T &, Date_T &ioDepartureDate) |
Utility class to import StdAir objects in a JSON format.
Definition at line 18 of file BomJSONImport.hpp.
|
static |
Extract the airline code from a given JSON-formatted string.
| std::string& | JSON-formatted string. |
| AirlineCode_T& | Airline code extracted from the given string. |
Definition at line 26 of file BomJSONImport.cpp.
|
static |
Build a FlightDateKey from a given JSON-formatted string.
| std::string& | JSON-formatted string. |
| FlightNumber_T& | Flight number extracted from the given string. |
| Date_T& | Departure date extracted from the given string. |
Definition at line 56 of file BomJSONImport.cpp.
1.8.1.2