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
JSonCommand.hpp
Go to the documentation of this file.
1
#ifndef __STDAIR_BAS_JSONCOMMAND_HPP
2
#define __STDAIR_BAS_JSONCOMMAND_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
JSonCommand
:
public
StructAbstract
{
18
public
:
19
typedef
enum
{
20
LIST
= 0,
21
FLIGHT_DATE
,
22
EVENT_LIST
,
23
BREAK_POINT
,
24
RUN
,
25
RESET
,
26
STATUS
,
27
CONFIG
,
28
LAST_VALUE
29
}
EN_JSonCommand
;
30
36
static
EN_JSonCommand
getCommand
(
const
std::string& iCommandStr);
37
41
static
std::string
getLabel
(
const
EN_JSonCommand
&);
42
46
static
std::string
describeLabels
();
47
51
EN_JSonCommand
getCommand
()
const
;
52
57
const
std::string
describe
()
const
;
58
59
public
:
63
bool
operator==
(
const
EN_JSonCommand
&)
const
;
64
65
public
:
69
JSonCommand
(
const
EN_JSonCommand
&);
70
74
JSonCommand
(
const
std::string&);
75
79
JSonCommand
(
const
JSonCommand
&);
80
81
private
:
85
JSonCommand
();
86
87
88
private
:
92
static
const
std::string _labels[
LAST_VALUE
];
93
94
private
:
95
// //////// Attributes /////////
99
EN_JSonCommand
_command;
100
};
101
102
}
103
#endif // __STDAIR_BAS_JSONCOMMAND_HPP
Generated on Sat Dec 22 2012 16:51:53 for StdAir by
1.8.1.1