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
SampleType.hpp
Go to the documentation of this file.
1
#ifndef __STDAIR_BAS_SAMPLETYPE_HPP
2
#define __STDAIR_BAS_SAMPLETYPE_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
25
struct
SampleType
:
public
StructAbstract
{
26
public
:
27
typedef
enum
{
28
ALL
= 0,
29
A4P
,
30
RMS
,
31
INV
,
32
SCH
,
33
RAC
,
34
FQT
,
35
CRS
,
36
DEM
,
37
EVT
,
38
CCM
,
39
LAST_VALUE
40
}
EN_SampleType
;
41
45
static
const
std::string&
getLabel
(
const
EN_SampleType
&);
46
50
static
char
getTypeLabel
(
const
EN_SampleType
&);
51
55
static
std::string
getTypeLabelAsString
(
const
EN_SampleType
&);
56
60
static
std::string
describeLabels
();
61
65
EN_SampleType
getType
()
const
;
66
70
std::string
getTypeAsString
()
const
;
71
75
const
std::string
describe
()
const
;
76
77
public
:
81
bool
operator==
(
const
EN_SampleType
&)
const
;
82
83
public
:
87
SampleType
(
const
EN_SampleType
&);
91
SampleType
(
const
char
iType);
95
SampleType
(
const
SampleType
&);
96
97
private
:
101
SampleType
();
102
103
104
private
:
108
static
const
std::string _labels[
LAST_VALUE
];
109
113
static
const
char
_typeLabels[
LAST_VALUE
];
114
115
116
private
:
117
// //////// Attributes /////////
121
EN_SampleType
_type;
122
};
123
124
}
125
#endif // __STDAIR_BAS_SAMPLETYPE_HPP
Generated on Sat Dec 22 2012 16:51:53 for StdAir by
1.8.1.1