StdAir Logo  1.00.13
C++ Standard Airline IT Object Library
Loading...
Searching...
No Matches
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
11
12namespace stdair {
13
17 struct JSonCommand : public StructAbstract {
18 public:
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
52
57 const std::string describe() const;
58
59 public:
63 bool operator== (const EN_JSonCommand&) const;
64
65 public:
70
74 JSonCommand (const std::string&);
75
79 JSonCommand (const JSonCommand&);
80
81 private:
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
Handle on the StdAir library context.
Enumeration of json commands.
const std::string describe() const
static std::string describeLabels()
bool operator==(const EN_JSonCommand &) const
static std::string getLabel(const EN_JSonCommand &)
EN_JSonCommand getCommand() const
JSonCommand(const EN_JSonCommand &)
Base class for the light structures.