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
AirlineClassListKey.hpp
Go to the documentation of this file.
1
#ifndef __STDAIR_BOM_AIRLINECLASSLISTKEY_HPP
2
#define __STDAIR_BOM_AIRLINECLASSLISTKEY_HPP
3
4
// //////////////////////////////////////////////////////////////////////
5
// Import section
6
// //////////////////////////////////////////////////////////////////////
7
// STL
8
#include <iosfwd>
9
// StdAir
10
#include <
stdair/stdair_inventory_types.hpp
>
11
#include <
stdair/bom/KeyAbstract.hpp
>
12
14
namespace
boost {
15
namespace
serialization {
16
class
access;
17
}
18
}
19
20
namespace
stdair {
21
25
struct
AirlineClassListKey
:
public
KeyAbstract
{
26
friend
class
boost::serialization::access
;
27
28
// /////////// Constructors and destructors ///////////
29
private
:
33
AirlineClassListKey
();
34
35
public
:
39
AirlineClassListKey
(
const
AirlineCodeList_T
&,
40
const
ClassList_StringList_T
&);
41
45
AirlineClassListKey
(
const
AirlineClassListKey
&);
46
50
~AirlineClassListKey
();
51
52
53
public
:
54
// /////////// Getters //////////
56
const
AirlineCodeList_T
&
getAirlineCodeList
()
const
{
57
return
_airlineCodeList;
58
}
59
61
const
ClassList_StringList_T
&
getClassCodeList
()
const
{
62
return
_classCodeList;
63
}
64
65
66
public
:
67
// /////////// Display support methods /////////
73
void
toStream
(std::ostream& ioOut)
const
;
74
80
void
fromStream
(std::istream& ioIn);
81
91
const
std::string
toString
()
const
;
92
93
94
public
:
95
// /////////// (Boost) Serialisation support methods /////////
99
template
<
class
Archive>
100
void
serialize
(Archive& ar,
const
unsigned
int
iFileVersion);
101
102
private
:
107
void
serialisationImplementationExport()
const
;
108
void
serialisationImplementationImport();
109
110
111
private
:
112
// ///////////////// Attributes ///////////////
116
AirlineCodeList_T
_airlineCodeList;
117
121
ClassList_StringList_T
_classCodeList;
122
};
123
124
}
125
#endif // __STDAIR_BOM_AIRLINECLASSLISTKEY_HPP
Generated on Sat Dec 22 2012 16:51:53 for StdAir by
1.8.1.1