1.00.26
C++ Standard Airline IT Object Library
Toggle main menu visibility
Loading...
Searching...
No Matches
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
KeyAbstract.hpp
stdair_types.hpp
stdair
Handle on the StdAir library context.
Definition
BasChronometer.cpp:9
stdair::ChannelLabel_T
std::string ChannelLabel_T
Definition
stdair_demand_types.hpp:92
stdair::CityCode_T
LocationCode_T CityCode_T
Definition
stdair_basic_types.hpp:25
stdair::KeyAbstract
Base class for the keys of Business Object Model (BOM) layer.
Definition
KeyAbstract.hpp:27
stdair::PosChannelKey::fromStream
void fromStream(std::istream &ioIn)
Definition
PosChannelKey.cpp:42
stdair::PosChannelKey::~PosChannelKey
~PosChannelKey()
Definition
PosChannelKey.cpp:33
stdair::PosChannelKey::getPos
const stdair::CityCode_T & getPos() const
Definition
PosChannelKey.hpp:43
stdair::PosChannelKey::toString
const std::string toString() const
Definition
PosChannelKey.cpp:46
stdair::PosChannelKey::PosChannelKey
PosChannelKey(const stdair::CityCode_T &, const stdair::ChannelLabel_T &)
Definition
PosChannelKey.cpp:22
stdair::PosChannelKey::getChannel
const stdair::ChannelLabel_T & getChannel() const
Definition
PosChannelKey.hpp:50
stdair::PosChannelKey::toStream
void toStream(std::ostream &ioOut) const
Definition
PosChannelKey.cpp:37
Generated for StdAir by
1.17.0