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
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);
96
100
PartnershipTechnique
(
const
PartnershipTechnique
&);
101
102
private
:
106
PartnershipTechnique
();
107
108
109
private
:
113
static
const
std::string _labels[
LAST_VALUE
];
117
static
const
char
_techniqueLabels[
LAST_VALUE
];
118
119
private
:
120
// //////// Attributes /////////
124
EN_PartnershipTechnique
_technique;
125
};
126
127
}
128
#endif // __STDAIR_BAS_PARTNERSHIPTECHNIQUE_HPP
Generated on Sat Dec 22 2012 16:51:53 for StdAir by
1.8.1.1