1.00.0
C++ Standard Airline IT Object Library
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
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
Generated on Sat Dec 22 2012 16:51:54 for StdAir by
1.8.1.1