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
SegmentDateKey.hpp
Go to the documentation of this file.
1
#ifndef __STDAIR_BOM_SEGMENTDATEKEY_HPP
2
#define __STDAIR_BOM_SEGMENTDATEKEY_HPP
3
4
// //////////////////////////////////////////////////////////////////////
5
// Import section
6
// //////////////////////////////////////////////////////////////////////
7
// StdAir
8
#include <
stdair/stdair_basic_types.hpp
>
9
#include <
stdair/bom/KeyAbstract.hpp
>
10
12
namespace
boost {
13
namespace
serialization {
14
class
access;
15
}
16
}
17
18
namespace
stdair {
19
24
struct
SegmentDateKey
:
public
KeyAbstract
{
25
friend
class
boost::serialization::access
;
26
27
// /////////// Constructors and destructors ///////////
28
private
:
32
SegmentDateKey
();
33
34
public
:
38
SegmentDateKey
(
const
AirportCode_T
&,
const
AirportCode_T
&);
42
SegmentDateKey
(
const
SegmentDateKey
&);
46
~SegmentDateKey
();
47
48
49
// /////////// Getters //////////
51
const
AirportCode_T
&
getBoardingPoint
()
const
{
52
return
_boardingPoint;
53
}
54
56
const
AirportCode_T
&
getOffPoint
()
const
{
57
return
_offPoint;
58
}
59
60
61
// /////////// Display support methods /////////
67
void
toStream
(std::ostream& ioOut)
const
;
68
74
void
fromStream
(std::istream& ioIn);
75
85
const
std::string
toString
()
const
;
86
87
88
public
:
89
// /////////// (Boost) Serialisation support methods /////////
93
template
<
class
Archive>
94
void
serialize
(Archive& ar,
const
unsigned
int
iFileVersion);
95
96
private
:
101
void
serialisationImplementationExport()
const
;
102
void
serialisationImplementationImport();
103
104
105
private
:
106
// ///////////////// Attributes ///////////////
110
AirportCode_T
_boardingPoint;
111
115
AirportCode_T
_offPoint;
116
};
117
118
}
119
#endif // __STDAIR_BOM_SEGMENTDATEKEY_HPP
Generated on Sat Dec 22 2012 16:51:54 for StdAir by
1.8.1.1