HCE project C++ developers source code library  1.1.1
HCE project developer library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
DRCEMessageConst.hpp
Go to the documentation of this file.
1 
14 #ifndef DRCE_MESSAGE_CONST_HPP
15 #define DRCE_MESSAGE_CONST_HPP
16 
17 namespace HCE
18 {
19 namespace drce
20 {
21 namespace message_const
22 {
23 //-----------------------------------------------------------------------------
24  enum
25  {
37  };
38 
39  const char delimiter = ':';
40  const char space = ' ';
41  const char point = '.';
42 
43  const std::string createDefaultJson = "CREATE DefaultJSON";
44  const std::string emptyCommandLine = "Empty command line";
45  const std::string executeCommandFail = "Execute command fail";
46  const std::string unknownSessionType = "Unknown session type";
47  const std::string error = "Error";
48  const std::string errorMsg = "ERROR_MSG";
49  const std::string errorCode = "ERROR_CODE";
50  const std::string command = "COMMAND";
51 
52  const std::string createFileFail = "Create file fail";
53  const std::string readFileFail = "Read file fail";
54  const std::string deleteFileFail = "Delete file fail";
55 
56  const std::vector<std::pair<unsigned int, std::string> > messages =
57  {
62  { ERROR, error },
63  { ERROR_MSG, errorMsg },
64  { ERROR_CODE, errorCode },
65  { COMMAND, command },
69  };
70 //-----------------------------------------------------------------------------
71 //-----------------------------------------------------------------------------
72 } // namespace message_const
73 } // namespace drce
74 } // namespace HCE
75 
76 #endif // DRCE_MESSAGE_CONST_HPP