1.00.26
C++ Standard Airline IT Object Library
Toggle main menu visibility
Loading...
Searching...
No Matches
YieldStoreKey.hpp
Go to the documentation of this file.
1
#ifndef __STDAIR_BOM_YIELDSTOREKEY_HPP
2
#define __STDAIR_BOM_YIELDSTOREKEY_HPP
3
4
// //////////////////////////////////////////////////////////////////////
5
// Import section
6
// //////////////////////////////////////////////////////////////////////
7
// StdAir
8
#include <
stdair/stdair_inventory_types.hpp
>
9
#include <
stdair/bom/KeyAbstract.hpp
>
10
11
namespace
stdair
{
12
14
struct
YieldStoreKey :
public
KeyAbstract
{
15
16
private
:
17
// /////////// Default constructor //////////
18
YieldStoreKey () { };
19
20
public
:
21
// /////////// Construction ///////////
23
YieldStoreKey (
const
AirlineCode_T
& iAirlineCode);
24
YieldStoreKey (
const
YieldStoreKey&);
26
~YieldStoreKey
();
27
28
// /////////// Getters //////////
30
const
AirlineCode_T
&
getAirlineCode
()
const
{
31
return
_airlineCode;
32
}
33
34
// /////////// Display support methods /////////
37
void
toStream
(std::ostream& ioOut)
const
;
38
41
void
fromStream
(std::istream& ioIn);
42
48
const
std::string
toString
()
const
;
49
50
private
:
51
// Attributes
53
AirlineCode_T
_airlineCode;
54
};
55
56
}
57
#endif
// __STDAIR_BOM_YIELDSTOREKEY_HPP
KeyAbstract.hpp
stdair_inventory_types.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::KeyAbstract
Base class for the keys of Business Object Model (BOM) layer.
Definition
KeyAbstract.hpp:27
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::getAirlineCode
const AirlineCode_T & getAirlineCode() const
Definition
YieldStoreKey.hpp:30
stdair::YieldStoreKey::toStream
void toStream(std::ostream &ioOut) const
Definition
YieldStoreKey.cpp:23
Generated for StdAir by
1.17.0