StdAir Logo  1.00.20
C++ Standard Airline IT Object Library
Loading...
Searching...
No Matches
AirlineFeatureKey.cpp
Go to the documentation of this file.
1// //////////////////////////////////////////////////////////////////////
2// Import section
3// //////////////////////////////////////////////////////////////////////
4// STL
5#include <sstream>
6// StdAir
8
9namespace stdair {
10
11 // ////////////////////////////////////////////////////////////////////
13 : _airlineCode (iAirlineCode) {
14 }
15
16 // ////////////////////////////////////////////////////////////////////
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}
Handle on the StdAir library context.
std::string AirlineCode_T
void fromStream(std::istream &ioIn)
AirlineFeatureKey(const AirlineCode_T &iAirlineCode)
void toStream(std::ostream &ioOut) const
const std::string toString() const