1.00.26
C++ Standard Airline IT Object Library
Toggle main menu visibility
Loading...
Searching...
No Matches
OptimisationMethod.hpp
Go to the documentation of this file.
1
#ifndef __STDAIR_BAS_OPTIMISATIONMETHOD_HPP
2
#define __STDAIR_BAS_OPTIMISATIONMETHOD_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
OptimisationMethod
:
public
StructAbstract
{
16
public
:
17
typedef
enum
{
18
LEG_BASED_MC
= 0,
19
LEG_BASED_EMSR_B
,
20
LAST_VALUE
21
} EN_OptimisationMethod;
22
25
static
const
std::string&
getLabel
(
const
EN_OptimisationMethod&);
26
28
static
char
getMethodLabel
(
const
EN_OptimisationMethod&);
29
31
static
std::string
getMethodLabelAsString
(
const
EN_OptimisationMethod&);
32
34
static
std::string
describeLabels
();
35
37
EN_OptimisationMethod
getMethod
()
const
;
38
40
std::string
getMethodAsString
()
const
;
41
44
const
std::string
describe
()
const
;
45
46
public
:
48
bool
operator==
(
const
EN_OptimisationMethod&)
const
;
49
50
public
:
52
OptimisationMethod
(
const
EN_OptimisationMethod&);
54
OptimisationMethod
(
const
char
iMethod);
56
OptimisationMethod
(
const
OptimisationMethod
&);
57
58
private
:
60
OptimisationMethod
();
61
62
63
private
:
65
static
const
std::string _labels[
LAST_VALUE
];
67
static
const
char
_methodLabels[
LAST_VALUE
];
68
69
70
private
:
71
// //////// Attributes /////////
73
EN_OptimisationMethod _method;
74
};
75
76
}
77
#endif
// __STDAIR_BAS_OPTIMISATIONMETHOD_HPP
StructAbstract.hpp
stdair
Handle on the StdAir library context.
Definition
BasChronometer.cpp:9
stdair::OptimisationMethod
Definition
OptimisationMethod.hpp:15
stdair::OptimisationMethod::LAST_VALUE
@ LAST_VALUE
Definition
OptimisationMethod.hpp:20
stdair::OptimisationMethod::LEG_BASED_EMSR_B
@ LEG_BASED_EMSR_B
Definition
OptimisationMethod.hpp:19
stdair::OptimisationMethod::LEG_BASED_MC
@ LEG_BASED_MC
Definition
OptimisationMethod.hpp:18
stdair::OptimisationMethod::getMethod
EN_OptimisationMethod getMethod() const
Definition
OptimisationMethod.cpp:89
stdair::OptimisationMethod::getMethodAsString
std::string getMethodAsString() const
Definition
OptimisationMethod.cpp:94
stdair::OptimisationMethod::operator==
bool operator==(const EN_OptimisationMethod &) const
Definition
OptimisationMethod.cpp:109
stdair::OptimisationMethod::getMethodLabel
static char getMethodLabel(const EN_OptimisationMethod &)
Definition
OptimisationMethod.cpp:64
stdair::OptimisationMethod::getMethodLabelAsString
static std::string getMethodLabelAsString(const EN_OptimisationMethod &)
Definition
OptimisationMethod.cpp:70
stdair::OptimisationMethod::describe
const std::string describe() const
Definition
OptimisationMethod.cpp:101
stdair::OptimisationMethod::getLabel
static const std::string & getLabel(const EN_OptimisationMethod &)
Definition
OptimisationMethod.cpp:59
stdair::OptimisationMethod::describeLabels
static std::string describeLabels()
Definition
OptimisationMethod.cpp:77
stdair::OptimisationMethod::OptimisationMethod
OptimisationMethod(const EN_OptimisationMethod &)
Definition
OptimisationMethod.cpp:36
stdair::StructAbstract::StructAbstract
StructAbstract()
Definition
StructAbstract.hpp:49
Generated for StdAir by
1.17.0