1.00.0
C++ Standard Airline IT Object Library
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
ParsedKey.hpp
Go to the documentation of this file.
1
#ifndef __STDAIR_BOM_PARSEDKEY_HPP
2
#define __STDAIR_BOM_PARSEDKEY_HPP
3
4
// //////////////////////////////////////////////////////////////////////
5
// Import section
6
// //////////////////////////////////////////////////////////////////////
7
// STL
8
#include <iosfwd>
9
#include <string>
10
// StdAir
11
#include <
stdair/stdair_date_time_types.hpp
>
12
#include <
stdair/bom/KeyAbstract.hpp
>
13
14
namespace
stdair {
16
struct
InventoryKey;
17
struct
FlightDateKey;
18
struct
SegmentDateKey;
19
struct
LegDateKey;
20
22
struct
ParsedKey
:
public
KeyAbstract
{
23
24
// //////////// Getter //////////////
26
InventoryKey
getInventoryKey
()
const
;
27
29
FlightDateKey
getFlightDateKey
()
const
;
30
32
SegmentDateKey
getSegmentKey
()
const
;
33
35
LegDateKey
getLegKey
()
const
;
36
38
const
Duration_T
getBoardingTime
()
const
;
39
40
public
:
41
// /////////// Display support methods /////////
47
void
toStream
(std::ostream& ioOut)
const
;
48
54
void
fromStream
(std::istream& ioIn);
55
65
const
std::string
toString
()
const
;
66
67
public
:
68
// ////////////// Constructor and destructor. //////////////
69
// Default constructor
70
ParsedKey
();
71
// Defaut destructor
72
~ParsedKey
();
73
74
public
:
75
// ///////////// Attributes ///////////////
76
std::string
_fullKey
;
77
std::string
_airlineCode
;
78
std::string
_flightNumber
;
79
std::string
_departureDate
;
80
std::string
_boardingPoint
;
81
std::string
_offPoint
;
82
std::string
_boardingTime
;
83
};
84
85
}
86
#endif // __STDAIR_BOM_PARSEDKEY_HPP
Generated on Sat Dec 22 2012 16:51:53 for StdAir by
1.8.1.1