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
PosChannelKey.hpp
Go to the documentation of this file.
1
#ifndef __STDAIR_BOM_POSCHANNELKEY_HPP
2
#define __STDAIR_BOM_POSCHANNELKEY_HPP
3
4
// //////////////////////////////////////////////////////////////////////
5
// Import section
6
// //////////////////////////////////////////////////////////////////////
7
// SIMFQT
8
#include <
stdair/bom/KeyAbstract.hpp
>
9
#include <
stdair/stdair_types.hpp
>
10
11
namespace
stdair {
15
struct
PosChannelKey
:
public
KeyAbstract
{
16
17
public
:
18
// /////////// Construction ///////////
22
PosChannelKey
(
const
stdair::CityCode_T
&,
const
stdair::ChannelLabel_T
&);
26
PosChannelKey
(
const
PosChannelKey
&);
30
~PosChannelKey
();
31
private
:
35
PosChannelKey
();
36
37
public
:
38
// /////////// Getters //////////
39
43
const
stdair::CityCode_T
&
getPos
()
const
{
44
return
_pos;
45
}
46
50
const
stdair::ChannelLabel_T
&
getChannel
()
const
{
51
return
_channel;
52
}
53
54
public
:
55
// /////////// Display support methods /////////
60
void
toStream
(std::ostream& ioOut)
const
;
61
66
void
fromStream
(std::istream& ioIn);
67
72
const
std::string
toString
()
const
;
73
74
private
:
75
// //////////////// Attributes //////////////////
79
CityCode_T
_pos;
80
85
ChannelLabel_T
_channel;
86
87
};
88
89
}
90
#endif // __STDAIR_BOM_POSCHANNELKEY_HPP
Generated on Sat Dec 22 2012 16:51:54 for StdAir by
1.8.1.1