StdAir Logo  1.00.21
C++ Standard Airline IT Object Library
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
10
11namespace stdair {
15 struct PosChannelKey : public KeyAbstract {
16
17 public:
18 // /////////// Construction ///////////
31 private:
36
37 public:
38 // /////////// Getters //////////
39
43 const stdair::CityCode_T& getPos() const {
44 return _pos;
45 }
46
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
Handle on the StdAir library context.
std::string ChannelLabel_T
LocationCode_T CityCode_T
Base class for the keys of Business Object Model (BOM) layer.
void fromStream(std::istream &ioIn)
const stdair::CityCode_T & getPos() const
const std::string toString() const
PosChannelKey(const stdair::CityCode_T &, const stdair::ChannelLabel_T &)
const stdair::ChannelLabel_T & getChannel() const
void toStream(std::ostream &ioOut) const