0.45.1
C++ Standard Airline IT Object Library
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
AirlineFeature.hpp
Go to the documentation of this file.
1
#ifndef __STDAIR_BOM_AIRLINEFEATURE_HPP
2
#define __STDAIR_BOM_AIRLINEFEATURE_HPP
3
4
// //////////////////////////////////////////////////////////////////////
5
// Import section
6
// //////////////////////////////////////////////////////////////////////
7
// StdAir
8
#include <
stdair/stdair_rm_types.hpp
>
9
#include <
stdair/bom/BomAbstract.hpp
>
10
#include <
stdair/bom/AirlineFeatureKey.hpp
>
11
#include <
stdair/bom/AirlineFeatureTypes.hpp
>
12
13
namespace
stdair {
14
16
class
AirlineFeature
:
public
BomAbstract
{
17
template
<
typename
BOM>
friend
class
FacBom
;
18
19
public
:
20
// Type definitions.
22
typedef
AirlineFeatureKey
Key_T
;
23
24
public
:
25
// /////////// Getters ////////////
27
const
Key_T
&
getKey
()
const
{
28
return
_key
;
29
}
30
31
public
:
32
// //////////// Setters //////////
34
void
init
(
const
ForecasterMode_T
&,
const
HistoricalDataLimit_T
&,
35
const
ControlMode_T
&);
36
37
public
:
38
// /////////// Display support methods /////////
41
void
toStream
(std::ostream& ioOut)
const
{ ioOut <<
toString
(); }
42
45
void
fromStream
(std::istream& ioIn) { }
46
48
std::string
toString
()
const
;
49
51
const
std::string
describeKey
()
const
{
return
_key
.
toString
(); }
52
53
protected
:
55
AirlineFeature
();
56
AirlineFeature
(
const
AirlineFeature
&);
57
AirlineFeature
(
const
Key_T
&);
59
virtual
~AirlineFeature
();
60
61
protected
:
62
// Attributes
64
Key_T
_key
;
65
67
ForecasterMode_T
_forecasterMode
;
68
70
HistoricalDataLimit_T
_historicalDataLimit
;
71
73
ControlMode_T
_controlMode
;
74
};
75
76
}
77
#endif // __STDAIR_BOM_AIRLINEFEATURE_HPP
78
Generated on Thu Aug 16 2012 03:18:47 for StdAir by
1.8.1.2