1.00.3
C++ Standard Airline IT Object Library
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
AirlineFeatureKey.cpp
Go to the documentation of this file.
1
// //////////////////////////////////////////////////////////////////////
2
// Import section
3
// //////////////////////////////////////////////////////////////////////
4
// STL
5
#include <sstream>
6
// StdAir
7
#include <
stdair/bom/AirlineFeatureKey.hpp
>
8
9
namespace
stdair
{
10
11
// ////////////////////////////////////////////////////////////////////
12
AirlineFeatureKey::AirlineFeatureKey
(
const
AirlineCode_T
& iAirlineCode)
13
: _airlineCode (iAirlineCode) {
14
}
15
16
// ////////////////////////////////////////////////////////////////////
17
AirlineFeatureKey::~AirlineFeatureKey
() {
18
}
19
20
// ////////////////////////////////////////////////////////////////////
21
void
AirlineFeatureKey::toStream
(std::ostream& ioOut)
const
{
22
ioOut <<
"AirlineFeatureKey: "
<<
toString
() << std::endl;
23
}
24
25
// ////////////////////////////////////////////////////////////////////
26
void
AirlineFeatureKey::fromStream
(std::istream& ioIn) {
27
}
28
29
// ////////////////////////////////////////////////////////////////////
30
const
std::string
AirlineFeatureKey::toString
()
const
{
31
std::ostringstream oStr;
32
oStr << _airlineCode;
33
return
oStr.str();
34
}
35
36
}
stdair
Handle on the StdAir library context.
Definition:
BasChronometer.cpp:9
stdair::AirlineCode_T
std::string AirlineCode_T
Definition:
stdair_basic_types.hpp:31
stdair::AirlineFeatureKey::toString
const std::string toString() const
Definition:
AirlineFeatureKey.cpp:30
stdair::AirlineFeatureKey::toStream
void toStream(std::ostream &ioOut) const
Definition:
AirlineFeatureKey.cpp:21
stdair::AirlineFeatureKey::AirlineFeatureKey
AirlineFeatureKey(const AirlineCode_T &iAirlineCode)
Definition:
AirlineFeatureKey.cpp:12
stdair::AirlineFeatureKey::~AirlineFeatureKey
~AirlineFeatureKey()
Definition:
AirlineFeatureKey.cpp:17
AirlineFeatureKey.hpp
stdair::AirlineFeatureKey::fromStream
void fromStream(std::istream &ioIn)
Definition:
AirlineFeatureKey.cpp:26
Generated for StdAir by
1.8.9.1