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
PassengerChoiceModel.hpp
Go to the documentation of this file.
1
#ifndef __STDAIR_BAS_PASSENGERCHOICEMODEL_HPP
2
#define __STDAIR_BAS_PASSENGERCHOICEMODEL_HPP
3
4
// //////////////////////////////////////////////////////////////////////
5
// Import section
6
// //////////////////////////////////////////////////////////////////////
7
// STL
8
#include <string>
9
// StdAir
10
#include <
stdair/basic/StructAbstract.hpp
>
11
12
namespace
stdair {
13
15
struct
PassengerChoiceModel
:
public
stdair::StructAbstract
{
16
public
:
17
typedef
enum
{
18
HARD_RESTRICTION
= 0,
19
PRICE_ORIENTED
,
20
HYBRID
,
21
LAST_VALUE
22
}
EN_PassengerChoiceModel
;
23
26
static
const
std::string&
getLabel
(
const
EN_PassengerChoiceModel
&);
27
29
static
char
getModelLabel
(
const
EN_PassengerChoiceModel
&);
30
32
static
std::string
getModelLabelAsString
(
const
EN_PassengerChoiceModel
&);
33
35
static
std::string
describeLabels
();
36
38
EN_PassengerChoiceModel
getModel
()
const
;
39
41
std::string
getModelAsString
()
const
;
42
45
const
std::string
describe
()
const
;
46
47
public
:
49
bool
operator==
(
const
EN_PassengerChoiceModel
&)
const
;
50
51
public
:
53
PassengerChoiceModel
(
const
EN_PassengerChoiceModel
&);
55
PassengerChoiceModel
(
const
char
iModel);
57
PassengerChoiceModel
(
const
PassengerChoiceModel
&);
58
59
private
:
61
PassengerChoiceModel
();
62
63
64
private
:
66
static
const
std::string _labels[
LAST_VALUE
];
68
static
const
char
_modelLabels[
LAST_VALUE
];
69
70
71
private
:
72
// //////// Attributes /////////
74
EN_PassengerChoiceModel
_model;
75
};
76
}
77
78
#endif // __STDAIR_BAS_PASSENGERCHOICEMODEL_HPP
Generated on Sat Dec 22 2012 16:51:53 for StdAir by
1.8.1.1