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
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
21
struct
ParsedKey
:
public
KeyAbstract
{
22
23
// //////////// Getter //////////////
25
InventoryKey
getInventoryKey
()
const
;
26
28
FlightDateKey
getFlightDateKey
()
const
;
29
31
SegmentDateKey
getSegmentKey
()
const
;
32
34
const
Duration_T
getBoardingTime
()
const
;
35
36
public
:
37
// /////////// Display support methods /////////
43
void
toStream
(std::ostream& ioOut)
const
;
44
50
void
fromStream
(std::istream& ioIn);
51
61
const
std::string
toString
()
const
;
62
63
public
:
64
// ////////////// Constructor and destructor. //////////////
65
// Default constructor
66
ParsedKey
();
67
// Defaut destructor
68
~ParsedKey
();
69
70
public
:
71
// ///////////// Attributes ///////////////
72
std::string
_fullKey
;
73
std::string
_airlineCode
;
74
std::string
_flightNumber
;
75
std::string
_departureDate
;
76
std::string
_boardingPoint
;
77
std::string
_offPoint
;
78
std::string
_boardingTime
;
79
};
80
81
}
82
#endif // __STDAIR_BOM_PARSEDKEY_HPP
Generated on Thu Aug 16 2012 03:18:49 for StdAir by
1.8.1.2