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
YieldFeaturesKey.hpp
Go to the documentation of this file.
1
#ifndef __STDAIR_BOM_YIELDFEATURESKEY_HPP
2
#define __STDAIR_BOM_YIELDFEATURESKEY_HPP
3
4
// //////////////////////////////////////////////////////////////////////
5
// Import section
6
// //////////////////////////////////////////////////////////////////////
7
// StdAir
8
#include <
stdair/bom/KeyAbstract.hpp
>
9
#include <
stdair/stdair_date_time_types.hpp
>
10
#include <
stdair/stdair_demand_types.hpp
>
11
#include <
stdair/stdair_inventory_types.hpp
>
12
13
namespace
stdair {
14
18
struct
YieldFeaturesKey
:
public
KeyAbstract
{
19
public
:
20
// /////////// Construction ///////////
24
YieldFeaturesKey
(
const
TripType_T
&,
const
CabinCode_T
&);
28
YieldFeaturesKey
(
const
YieldFeaturesKey
&);
32
~YieldFeaturesKey
();
33
private
:
37
YieldFeaturesKey
();
38
39
public
:
40
// /////////// Getters //////////
44
const
TripType_T
&
getTripType
()
const
{
45
return
_tripType;
46
}
47
51
const
CabinCode_T
&
getCabinCode
()
const
{
52
return
_cabinCode;
53
}
54
55
public
:
56
// /////////// Display support methods /////////
61
void
toStream
(std::ostream& ioOut)
const
;
62
67
void
fromStream
(std::istream& ioIn);
68
74
const
std::string
toString
()
const
;
75
76
private
:
77
// //////////////// Attributes //////////////////
81
TripType_T
_tripType;
82
86
CabinCode_T
_cabinCode;
87
};
88
89
}
90
#endif // __STDAIR_BOM_YIELDFEATURESKEY_HPP
Generated on Sat Dec 22 2012 16:51:54 for StdAir by
1.8.1.1