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
PartnershipTechnique.hpp
Go to the documentation of this file.
1
#ifndef __STDAIR_BAS_PARTNERSHIPTECHNIQUE_HPP
2
#define __STDAIR_BAS_PARTNERSHIPTECHNIQUE_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
PartnershipTechnique
:
public
StructAbstract
{
18
public
:
19
typedef
enum
{
20
NONE
= 0,
21
RAE_DA
,
22
RAE_YP
,
23
IBP_DA
,
24
IBP_YP
,
25
IBP_YP_U
,
26
RMC
,
27
A_RMC
,
28
LAST_VALUE
29
}
EN_PartnershipTechnique
;
30
34
static
const
std::string&
getLabel
(
const
EN_PartnershipTechnique
&);
35
39
static
EN_PartnershipTechnique
getTechnique
(
const
char
);
40
44
static
char
getTechniqueLabel
(
const
EN_PartnershipTechnique
&);
45
49
static
std::string
getTechniqueLabelAsString
(
const
EN_PartnershipTechnique
&);
50
54
static
std::string
describeLabels
();
55
59
EN_PartnershipTechnique
getTechnique
()
const
;
60
64
char
getTechniqueAsChar
()
const
;
65
69
std::string
getTechniqueAsString
()
const
;
70
75
const
std::string
describe
()
const
;
76
77
public
:
81
bool
operator==
(
const
EN_PartnershipTechnique
&)
const
;
82
83
public
:
87
PartnershipTechnique
(
const
EN_PartnershipTechnique
&);
91
PartnershipTechnique
(
const
char
iTechnique);
95
PartnershipTechnique
(
const
std::string& iTechnique);
99
PartnershipTechnique
(
const
PartnershipTechnique
&);
100
101
private
:
105
PartnershipTechnique
();
106
107
108
private
:
112
static
const
std::string _labels[
LAST_VALUE
];
116
static
const
char
_techniqueLabels[
LAST_VALUE
];
117
118
private
:
119
// //////// Attributes /////////
123
EN_PartnershipTechnique
_technique;
124
};
125
126
}
127
#endif // __STDAIR_BAS_PARTNERSHIPTECHNIQUE_HPP
Generated on Thu Aug 16 2012 03:18:46 for StdAir by
1.8.1.2