1.00.26
C++ Standard Airline IT Object Library
Toggle main menu visibility
Loading...
Searching...
No Matches
PreOptimisationMethod.hpp
Go to the documentation of this file.
1
#ifndef __STDAIR_BAS_PREOPTIMISATIONMETHOD_HPP
2
#define __STDAIR_BAS_PREOPTIMISATIONMETHOD_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
PreOptimisationMethod
:
public
StructAbstract
{
16
public
:
17
typedef
enum
{
18
NONE
= 0,
19
FA
,
20
MRT
,
21
LAST_VALUE
22
} EN_PreOptimisationMethod;
23
25
static
const
std::string&
getLabel
(
const
EN_PreOptimisationMethod&);
26
28
static
char
getMethodLabel
(
const
EN_PreOptimisationMethod&);
29
31
static
std::string
getMethodLabelAsString
(
const
EN_PreOptimisationMethod&);
32
34
static
std::string
describeLabels
();
35
37
EN_PreOptimisationMethod
getMethod
()
const
;
38
40
std::string
getMethodAsString
()
const
;
41
43
const
std::string
describe
()
const
;
44
45
public
:
47
bool
operator==
(
const
EN_PreOptimisationMethod&)
const
;
48
49
public
:
51
PreOptimisationMethod
(
const
EN_PreOptimisationMethod&);
53
PreOptimisationMethod
(
const
char
iMethod);
55
PreOptimisationMethod
(
const
PreOptimisationMethod
&);
56
57
private
:
59
PreOptimisationMethod
();
60
61
62
private
:
64
static
const
std::string _labels[
LAST_VALUE
];
66
static
const
char
_methodLabels[
LAST_VALUE
];
67
68
69
private
:
70
// //////// Attributes /////////
72
EN_PreOptimisationMethod _method;
73
};
74
75
}
76
#endif
// __STDAIR_BAS_PREOPTIMISATIONMETHOD_HPP
StructAbstract.hpp
stdair
Handle on the StdAir library context.
Definition
BasChronometer.cpp:9
stdair::PreOptimisationMethod
Definition
PreOptimisationMethod.hpp:15
stdair::PreOptimisationMethod::getLabel
static const std::string & getLabel(const EN_PreOptimisationMethod &)
Definition
PreOptimisationMethod.cpp:60
stdair::PreOptimisationMethod::PreOptimisationMethod
PreOptimisationMethod(const EN_PreOptimisationMethod &)
Definition
PreOptimisationMethod.cpp:36
stdair::PreOptimisationMethod::describeLabels
static std::string describeLabels()
Definition
PreOptimisationMethod.cpp:78
stdair::PreOptimisationMethod::describe
const std::string describe() const
Definition
PreOptimisationMethod.cpp:102
stdair::PreOptimisationMethod::operator==
bool operator==(const EN_PreOptimisationMethod &) const
Definition
PreOptimisationMethod.cpp:110
stdair::PreOptimisationMethod::getMethod
EN_PreOptimisationMethod getMethod() const
Definition
PreOptimisationMethod.cpp:90
stdair::PreOptimisationMethod::getMethodLabelAsString
static std::string getMethodLabelAsString(const EN_PreOptimisationMethod &)
Definition
PreOptimisationMethod.cpp:71
stdair::PreOptimisationMethod::LAST_VALUE
@ LAST_VALUE
Definition
PreOptimisationMethod.hpp:21
stdair::PreOptimisationMethod::MRT
@ MRT
Definition
PreOptimisationMethod.hpp:20
stdair::PreOptimisationMethod::FA
@ FA
Definition
PreOptimisationMethod.hpp:19
stdair::PreOptimisationMethod::NONE
@ NONE
Definition
PreOptimisationMethod.hpp:18
stdair::PreOptimisationMethod::getMethodLabel
static char getMethodLabel(const EN_PreOptimisationMethod &)
Definition
PreOptimisationMethod.cpp:65
stdair::PreOptimisationMethod::getMethodAsString
std::string getMethodAsString() const
Definition
PreOptimisationMethod.cpp:95
stdair::StructAbstract::StructAbstract
StructAbstract()
Definition
StructAbstract.hpp:49
Generated for StdAir by
1.17.0