$treeview $search $mathjax
#include <stdair/bom/BomJSONImport.hpp>
Static Public Member Functions | |
| static bool | jsonImportCommand (const JSONString &, JSonCommand::EN_JSonCommand &) |
| static bool | jsonImportInventoryKey (const JSONString &, AirlineCode_T &) |
| static bool | jsonImportFlightDate (const JSONString &, Date_T &) |
| static bool | jsonImportFlightNumber (const JSONString &, FlightNumber_T &) |
| static bool | jsonImportBreakPoints (const JSONString &, BreakPointList_T &) |
| static bool | jsonImportEventType (const JSONString &, EventType::EN_EventType &) |
| static bool | jsonImportConfig (const JSONString &, ConfigHolderStruct &) |
Definition at line 26 of file BomJSONImport.hpp.
| bool stdair::BomJSONImport::jsonImportCommand | ( | const JSONString & | , | |
| JSonCommand::EN_JSonCommand & | ||||
| ) | [static] |
Extract the JSON command from a given JSON-formatted string.
| const | JSONString& JSON-formatted string. | |
| JSonCommand::EN_JSonCommand& | JSOM command extracted from the given string. |
Definition at line 32 of file BomJSONImport.cpp.
References stdair::JSonCommand::getCommand(), and stdair::JSONString::getString().
| bool stdair::BomJSONImport::jsonImportInventoryKey | ( | const JSONString & | , | |
| AirlineCode_T & | ||||
| ) | [static] |
Extract the airline code from a given JSON-formatted string.
| const | JSONString& JSON-formatted string. | |
| AirlineCode_T& | Airline code extracted from the given string. |
Definition at line 98 of file BomJSONImport.cpp.
References stdair::JSONString::getString().
| bool stdair::BomJSONImport::jsonImportFlightDate | ( | const JSONString & | , | |
| Date_T & | ||||
| ) | [static] |
Extract the FlightDate from a given JSON-formatted string.
| const | JSONString& JSON-formatted string. | |
| Date_T& | Departure date extracted from the given string. |
Definition at line 133 of file BomJSONImport.cpp.
References stdair::JSONString::getString().
| bool stdair::BomJSONImport::jsonImportFlightNumber | ( | const JSONString & | , | |
| FlightNumber_T & | ||||
| ) | [static] |
Extract the FlightNumber from a given JSON-formatted string.
| const | JSONString& JSON-formatted string. | |
| FlightNumber_T& | Flight number extracted from the given string. |
Definition at line 167 of file BomJSONImport.cpp.
References stdair::JSONString::getString().
| bool stdair::BomJSONImport::jsonImportBreakPoints | ( | const JSONString & | , | |
| BreakPointList_T & | ||||
| ) | [static] |
Extract the break points from a given JSON-formatted string.
| const | JSONString& JSON-formatted string. | |
| BreakPointList_T& | List of breaking points extracted from the given string. |
Definition at line 203 of file BomJSONImport.cpp.
References stdair::JSONString::getString().
| bool stdair::BomJSONImport::jsonImportEventType | ( | const JSONString & | , | |
| EventType::EN_EventType & | ||||
| ) | [static] |
Extract the event type from a given JSON-formatted string.
| const | JSONString& JSON-formatted string. | |
| EventType::EN_EventType& | Event type extracted from the given string. |
Definition at line 253 of file BomJSONImport.cpp.
References stdair::JSONString::getString().
| bool stdair::BomJSONImport::jsonImportConfig | ( | const JSONString & | , | |
| ConfigHolderStruct & | ||||
| ) | [static] |
Extract the configuration ptree from the given JSON-formatted string and add it to the configuration holder
| const | JSONString& JSON-formatted string. | |
| ConfigHolderStruct& | Configuration holder. |
Definition at line 296 of file BomJSONImport.cpp.
References stdair::ConfigHolderStruct::add(), and stdair::JSONString::getString().
Referenced by stdair::STDAIR_Service::jsonImportConfiguration().
1.4.7
Generated on Sun Jun 7 15:18:17 2015 for StdAir by
1.4.7