1.00.20
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
5
#include <
stdair/bom/YieldStoreKey.hpp
>
6
7
namespace
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
// ////////////////////////////////////////////////////////////////////
19
YieldStoreKey::~YieldStoreKey
() {
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
}
YieldStoreKey.hpp
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::YieldStoreKey::~YieldStoreKey
~YieldStoreKey()
Definition
YieldStoreKey.cpp:19
stdair::YieldStoreKey::toString
const std::string toString() const
Definition
YieldStoreKey.cpp:32
stdair::YieldStoreKey::fromStream
void fromStream(std::istream &ioIn)
Definition
YieldStoreKey.cpp:28
stdair::YieldStoreKey::toStream
void toStream(std::ostream &ioOut) const
Definition
YieldStoreKey.cpp:23
Generated for StdAir by
1.13.2