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
AirlineFeatureKey.hpp
Go to the documentation of this file.
1
#ifndef __STDAIR_BOM_AIRLINEFEATUREKEY_HPP
2
#define __STDAIR_BOM_AIRLINEFEATUREKEY_HPP
3
4
// //////////////////////////////////////////////////////////////////////
5
// Import section
6
// //////////////////////////////////////////////////////////////////////
7
// STL
8
#include <string>
9
// StdAir
10
#include <
stdair/stdair_inventory_types.hpp
>
11
#include <
stdair/bom/KeyAbstract.hpp
>
12
13
namespace
stdair {
15
struct
AirlineFeatureKey
:
public
KeyAbstract
{
16
17
public
:
18
// /////////// Construction ///////////
20
AirlineFeatureKey
(
const
AirlineCode_T
& iAirlineCode);
21
23
~AirlineFeatureKey
();
24
25
// /////////// Getters //////////
27
const
AirlineCode_T
&
getAirlineCode
()
const
{
return
_airlineCode; }
28
29
// /////////// Display support methods /////////
32
void
toStream
(std::ostream& ioOut)
const
;
33
36
void
fromStream
(std::istream& ioIn);
37
43
const
std::string
toString
()
const
;
44
45
private
:
46
// Attributes
48
AirlineCode_T
_airlineCode;
49
};
50
51
}
52
#endif // __STDAIR_BOM_AIRLINEFEATUREKEY_HPP
Generated on Sat Dec 22 2012 16:51:53 for StdAir by
1.8.1.1