0.45.1
C++ Standard Airline IT Object Library
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
BomRetriever.hpp
Go to the documentation of this file.
1
#ifndef __STDAIR_BOM_BOMRETRIEVER_HPP
2
#define __STDAIR_BOM_BOMRETRIEVER_HPP
3
4
// //////////////////////////////////////////////////////////////////////
5
// Import section
6
// //////////////////////////////////////////////////////////////////////
7
// STL
8
#include <iosfwd>
9
// StdAir
10
#include <
stdair/stdair_basic_types.hpp
>
11
#include <
stdair/stdair_date_time_types.hpp
>
12
#include <
stdair/bom/DatePeriod.hpp
>
13
14
namespace
stdair {
15
17
class
BomRoot;
18
struct
InventoryKey;
19
class
Inventory;
20
struct
FlightDateKey;
21
class
FlightDate;
22
class
LegDate;
23
struct
SegmentDateKey;
24
class
SegmentDate;
25
class
LegCabin;
26
class
SegmentCabin;
27
class
FareFamily;
28
class
BookingClass;
29
class
DatePeriod;
30
class
AirportPair;
31
35
class
BomRetriever
{
36
public
:
37
// //////////////// Key management support methods /////////////////
50
static
Inventory
*
51
retrieveInventoryFromLongKey
(
const
BomRoot
&,
52
const
std::string& iFullKeyStr);
53
61
static
Inventory
*
retrieveInventoryFromKey
(
const
BomRoot
&,
62
const
InventoryKey
&);
63
71
static
Inventory
*
retrieveInventoryFromKey
(
const
BomRoot
&,
72
const
AirlineCode_T
&);
73
86
static
FlightDate
*
87
retrieveFlightDateFromLongKey
(
const
BomRoot
&,
88
const
std::string& iFullKeyStr);
89
99
static
FlightDate
*
100
retrieveFlightDateFromKeySet
(
const
BomRoot
&,
101
const
AirlineCode_T
&,
const
FlightNumber_T
&,
102
const
Date_T
& iFlightDateDate);
103
116
static
FlightDate
*
117
retrieveFlightDateFromLongKey
(
const
Inventory
&,
118
const
std::string& iFullKeyStr);
119
127
static
FlightDate
*
retrieveFlightDateFromKey
(
const
Inventory
&,
128
const
FlightDateKey
&);
129
138
static
FlightDate
*
retrieveFlightDateFromKey
(
const
Inventory
&,
139
const
FlightNumber_T
&,
140
const
Date_T
& iFlightDateDate);
141
154
static
SegmentDate
*
155
retrieveSegmentDateFromLongKey
(
const
BomRoot
&,
156
const
std::string& iFullKeyStr);
157
170
static
SegmentDate
*
171
retrieveSegmentDateFromLongKey
(
const
Inventory
&,
172
const
std::string& iFullKeyStr);
173
186
static
SegmentDate
*
187
retrieveSegmentDateFromLongKey
(
const
FlightDate
&,
188
const
std::string& iFullKeyStr);
189
197
static
SegmentDate
*
retrieveSegmentDateFromKey
(
const
FlightDate
&,
198
const
SegmentDateKey
&);
199
208
static
SegmentDate
*
209
retrieveSegmentDateFromKey
(
const
FlightDate
&,
210
const
AirportCode_T
& iOrigin,
211
const
AirportCode_T
& iDestination);
212
236
static
BookingClass
*
237
retrieveBookingClassFromLongKey
(
const
Inventory
&,
238
const
std::string& iFullKeyStr,
239
const
ClassCode_T
&);
240
241
250
static
AirportPair
*
251
retrieveAirportPairFromKeySet
(
const
BomRoot
& ,
252
const
stdair::AirportCode_T
&,
253
const
stdair::AirportCode_T
&);
254
264
static
void
265
retrieveDatePeriodListFromKey
(
const
AirportPair
&,
266
const
stdair::Date_T
&,
267
stdair::DatePeriodList_T
&);
268
281
static
void
282
retrieveDatePeriodListFromKeySet
(
const
BomRoot
&,
283
const
stdair::AirportCode_T
&,
284
const
stdair::AirportCode_T
&,
285
const
stdair::Date_T
&,
286
stdair::DatePeriodList_T
&);
287
293
static
stdair::LegCabin
&
retrieveDummyLegCabin
(
stdair::BomRoot
&);
294
300
static
stdair::SegmentCabin
&
retrieveDummySegmentCabin
(
stdair::BomRoot
&);
301
302
};
303
304
}
305
#endif // __STDAIR_BOM_BOMRETRIEVER_HPP
Generated on Mon Aug 27 2012 21:34:02 for StdAir by
1.8.1.2