StdAir Logo  1.00.13
C++ Standard Airline IT Object Library
Loading...
Searching...
No Matches
YieldStoreKey.cpp
Go to the documentation of this file.
1// //////////////////////////////////////////////////////////////////////
2// Import section
3// //////////////////////////////////////////////////////////////////////
4// StdAir
6
7namespace stdair {
8
9 // ////////////////////////////////////////////////////////////////////
10 YieldStoreKey::YieldStoreKey (const AirlineCode_T& iAirlineCode)
11 : _airlineCode (iAirlineCode) {
12 }
13 // ////////////////////////////////////////////////////////////////////
14 YieldStoreKey::YieldStoreKey (const YieldStoreKey& iKey)
15 : _airlineCode (iKey._airlineCode) {
16 }
17
18 // ////////////////////////////////////////////////////////////////////
20 }
21
22 // ////////////////////////////////////////////////////////////////////
23 void YieldStoreKey::toStream (std::ostream& ioOut) const {
24 ioOut << "YieldStoreKey: " << toString() << std::endl;
25 }
26
27 // ////////////////////////////////////////////////////////////////////
28 void YieldStoreKey::fromStream (std::istream& ioIn) {
29 }
30
31 // ////////////////////////////////////////////////////////////////////
32 const std::string YieldStoreKey::toString() const {
33 std::ostringstream oStr;
34 oStr << _airlineCode;
35 return oStr.str();
36 }
37
38}
Handle on the StdAir library context.
std::string AirlineCode_T
const std::string toString() const
void fromStream(std::istream &ioIn)
void toStream(std::ostream &ioOut) const