1.00.0
C++ Simulated Airline Inventory Management System library
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
FlightRequestStatus.hpp
Go to the documentation of this file.
1
#ifndef __AIRINV_BAS_FLIGHTREQUESTSTATUS_HPP
2
#define __AIRINV_BAS_FLIGHTREQUESTSTATUS_HPP
3
4
// //////////////////////////////////////////////////////////////////////
5
// Import section
6
// //////////////////////////////////////////////////////////////////////
7
// STL
8
#include <string>
9
// StdAir
10
#include <stdair/basic/StructAbstract.hpp>
11
12
namespace
AIRINV {
13
15
struct
FlightRequestStatus
:
public
stdair::StructAbstract {
16
public
:
17
typedef
enum
{
18
OK
= 0,
19
NOT_FOUND
,
20
INTERNAL_ERROR
,
21
LAST_VALUE
22
}
EN_FlightRequestStatus
;
23
25
static
const
std::string&
getLabel
(
const
EN_FlightRequestStatus
&);
26
28
static
const
std::string&
getCodeLabel
(
const
EN_FlightRequestStatus
&);
29
31
static
std::string
describeLabels
();
32
34
EN_FlightRequestStatus
getCode
()
const
;
35
37
const
std::string
describe
()
const
;
38
39
40
public
:
42
FlightRequestStatus
(
const
EN_FlightRequestStatus
&);
44
FlightRequestStatus
(
const
std::string& iCode);
45
46
47
private
:
49
static
const
std::string _labels[
LAST_VALUE
];
51
static
const
std::string _codeLabels[
LAST_VALUE
];
52
53
54
private
:
55
// //////// Attributes /////////
57
EN_FlightRequestStatus
_code;
58
};
59
60
}
61
#endif // __AIRINV_BAS_FLIGHTREQUESTSTATUS_HPP
Generated on Tue Dec 25 2012 22:19:42 for AirInv by
1.8.1.1