1.00.26
C++ Standard Airline IT Object Library
Toggle main menu visibility
Loading...
Searching...
No Matches
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
10
#include <
stdair/stdair_basic_types.hpp
>
11
#include <
stdair/stdair_date_time_types.hpp
>
12
#include <
stdair/basic/JSonCommand.hpp
>
13
#include <
stdair/basic/EventType.hpp
>
14
#include <
stdair/bom/BreakPointStruct.hpp
>
15
16
17
namespace
stdair
{
18
20
class
JSONString
;
21
struct
ConfigHolderStruct
;
22
26
class
BomJSONImport
{
27
public
:
28
// //////////////// Import support methods /////////////////
36
static
bool
jsonImportCommand
(
const
JSONString
&,
37
JSonCommand::EN_JSonCommand
&);
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
&,
66
FlightNumber_T
&);
67
75
static
bool
jsonImportBreakPoints
(
const
JSONString
&,
76
BreakPointList_T
&);
77
85
static
bool
jsonImportEventType
(
const
JSONString
&,
86
EventType::EN_EventType
&);
87
96
static
bool
jsonImportConfig
(
const
JSONString
&,
97
ConfigHolderStruct
&);
98
};
99
100
}
101
#endif
// __STDAIR_BOM_BOMJSONIMPORT_HPP
EventType.hpp
JSonCommand.hpp
BreakPointStruct.hpp
stdair_basic_types.hpp
stdair_date_time_types.hpp
stdair
Handle on the StdAir library context.
Definition
BasChronometer.cpp:9
stdair::Date_T
boost::gregorian::date Date_T
Definition
stdair_date_time_types.hpp:20
stdair::BreakPointList_T
std::list< BreakPointStruct > BreakPointList_T
Definition
BreakPointTypes.hpp:23
stdair::FlightNumber_T
unsigned short FlightNumber_T
Definition
stdair_basic_types.hpp:34
stdair::AirlineCode_T
std::string AirlineCode_T
Definition
stdair_basic_types.hpp:31
stdair::EventType::EN_EventType
EN_EventType
Definition
EventType.hpp:17
stdair::JSonCommand::EN_JSonCommand
EN_JSonCommand
Definition
JSonCommand.hpp:19
stdair::BomJSONImport
Utility class to import StdAir objects in a JSON format.
Definition
BomJSONImport.hpp:26
stdair::BomJSONImport::jsonImportInventoryKey
static bool jsonImportInventoryKey(const JSONString &, AirlineCode_T &)
Definition
BomJSONImport.cpp:101
stdair::BomJSONImport::jsonImportCommand
static bool jsonImportCommand(const JSONString &, JSonCommand::EN_JSonCommand &)
Definition
BomJSONImport.cpp:35
stdair::BomJSONImport::jsonImportFlightDate
static bool jsonImportFlightDate(const JSONString &, Date_T &)
Definition
BomJSONImport.cpp:136
stdair::BomJSONImport::jsonImportEventType
static bool jsonImportEventType(const JSONString &, EventType::EN_EventType &)
Definition
BomJSONImport.cpp:256
stdair::BomJSONImport::jsonImportConfig
static bool jsonImportConfig(const JSONString &, ConfigHolderStruct &)
Definition
BomJSONImport.cpp:299
stdair::BomJSONImport::jsonImportBreakPoints
static bool jsonImportBreakPoints(const JSONString &, BreakPointList_T &)
Definition
BomJSONImport.cpp:206
stdair::BomJSONImport::jsonImportFlightNumber
static bool jsonImportFlightNumber(const JSONString &, FlightNumber_T &)
Definition
BomJSONImport.cpp:170
stdair::ConfigHolderStruct
Definition
ConfigHolderStruct.hpp:40
stdair::JSONString
JSON-formatted string.
Definition
stdair_json.hpp:16
Generated for StdAir by
1.17.0