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
DemandGenerationMethod.hpp
Go to the documentation of this file.
1
#ifndef __STDAIR_BAS_DEMANDGENERATIONMETHOD_HPP
2
#define __STDAIR_BAS_DEMANDGENERATIONMETHOD_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
17
struct
DemandGenerationMethod
:
public
StructAbstract
{
18
public
:
19
typedef
enum
{
20
POI_PRO
= 0,
21
STA_ORD
,
22
LAST_VALUE
23
}
EN_DemandGenerationMethod
;
24
28
static
const
std::string&
getLabel
(
const
EN_DemandGenerationMethod
&);
29
33
static
EN_DemandGenerationMethod
getMethod
(
const
char
);
34
38
static
char
getMethodLabel
(
const
EN_DemandGenerationMethod
&);
39
43
static
std::string
getMethodLabelAsString
(
const
EN_DemandGenerationMethod
&);
44
48
static
std::string
describeLabels
();
49
53
EN_DemandGenerationMethod
getMethod
()
const
;
54
58
char
getMethodAsChar
()
const
;
59
63
std::string
getMethodAsString
()
const
;
64
69
const
std::string
describe
()
const
;
70
71
public
:
75
bool
operator==
(
const
EN_DemandGenerationMethod
&)
const
;
76
77
public
:
81
DemandGenerationMethod
(
const
EN_DemandGenerationMethod
&);
85
DemandGenerationMethod
(
const
char
iMethod);
89
DemandGenerationMethod
(
const
std::string& iMethod);
93
DemandGenerationMethod
(
const
DemandGenerationMethod
&);
94
95
private
:
99
DemandGenerationMethod
();
100
101
102
private
:
106
static
const
std::string _labels[
LAST_VALUE
];
110
static
const
char
_methodLabels[
LAST_VALUE
];
111
112
private
:
113
// //////// Attributes /////////
117
EN_DemandGenerationMethod
_method;
118
};
119
120
}
121
#endif // __STDAIR_BAS_DEMANDGENERATIONMETHOD_HPP
Generated on Sat Dec 22 2012 16:51:53 for StdAir by
1.8.1.1