hce-node application  1.4.3
HCE Hierarchical Cluster Engine node application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
ApplicationDefine.hpp
Go to the documentation of this file.
1 #ifndef DEFINE_HPP
2 #define DEFINE_HPP
3 
4 //Dictionary
5 #define MAIN_ERROR "Error in main function."
6 
7 //application
8 #define MESSAGE_ALREADY_INITIALIZED_EXCEPTION "Object already initialized"
9 
10 //logger
11 #define DEFAULT_LOG_SUFFIX ".log.txt"
12 #define DEFAULT_LOG_ALWAYS_USE_DEF_LOG "false"
13 #define DEFAULT_LOG_LEVEL "information"
14 #define DEFAULT_LOG_NAME "Application"
15 #define DEFAULT_LOG_PATTERN_FORMATTER "%Y-%m-%d %H:%M:%S.%c %N[%P]:%s:%p:%t"
16 #define DEFAULT_LOG_ERROR "Default log is not exist"
17 
18 #define CHANNELS "CHANNELS"
19 #define PATTERN_FORMATTER "PatternFormatter"
20 #define ALWAYS_USE_DEFAULT_LOG "alwaysUseDefaultLog"
21 #define BASE_NAME "application.path"
22 #define LOG_LEVEL "log_level"
23 
24 #define CHANNEL_NOT_EXIST_EXCEPTION "This channel not exist."
25 
26 #define LOGGER_ON_DEFAULT_LEVEL 7
27 #define LOGGER_OFF_LEVEL 0
28 
29 //poco wrapper session
30 #define NOT_SET_ERROR "Database connection parameters not set. Parameters must be declared in configuration file."
31 
32 //RwParsesComponent
33 #define QUERY_SELECT_BLACK_WORDS "SELECT word FROM blackWords"
34 
35 #endif /* DEFINE_HPP */
36