StdAir Logo  1.00.20
C++ Standard Airline IT Object Library
Loading...
Searching...
No Matches
PosChannel.cpp
Go to the documentation of this file.
1// //////////////////////////////////////////////////////////////////////
2// Import section
3// //////////////////////////////////////////////////////////////////////
4// STL
5#include <cassert>
6#include <sstream>
7// StdAir
11
12namespace stdair {
13
14 // ////////////////////////////////////////////////////////////////////
16 : _key (DEFAULT_POS,
18 _parent (NULL) {
19 // That constructor is used by the serialisation process
20 }
21
22 // ////////////////////////////////////////////////////////////////////
23 PosChannel::PosChannel (const PosChannel& iPosChannel)
24 : _key (iPosChannel.getKey()), _parent (NULL) {
25 }
26
27 // ////////////////////////////////////////////////////////////////////
29 : _key (iKey), _parent (NULL) {
30 }
31
32 // ////////////////////////////////////////////////////////////////////
35
36 // ////////////////////////////////////////////////////////////////////
37 std::string PosChannel::toString() const {
38 std::ostringstream oStr;
39 oStr << describeKey();
40 return oStr.str();
41 }
42}
Handle on the StdAir library context.
const ChannelLabel_T DEFAULT_CHANNEL
const CityCode_T DEFAULT_POS
PosChannelKey Key_T
PosChannel(const Key_T &)
const std::string describeKey() const
std::string toString() const
virtual ~PosChannel()
BomAbstract * _parent