highlighter application
1.1
HCE project utils : highlighter
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
ErrorStruct.hpp
Go to the documentation of this file.
1
12
#ifndef ERROR_CONSTANTS_HPP
13
#define ERROR_CONSTANTS_HPP
14
15
#include <string>
16
#include <vector>
17
18
#define LONG_LONG_MASK 0x0000000000000001llu
19
#define SEPARATOR_STRING " | "
20
#define SEPARATOR_STRING_LENGTH 3
21
22
#define ERROR_FLAG_WAS_TIMEOUT 0x1
23
#define ERROR_BAD_REG_EXPRESSION 0x2
24
25
extern
std::vector<std::string>
errorCodesStrings
;
26
27
#include <Poco/Mutex.h>
28
29
struct
ErrorStruct
30
{
31
private
:
32
Poco::FastMutex mutex;
33
unsigned
long
long
errorMask;
34
public
:
35
ErrorStruct
();
36
void
addErrorCode
(
unsigned
long
long
errorCode);
37
unsigned
long
long
getErrorCode
();
38
static
std::string
resolveErrorString
(
unsigned
long
long
errorCode);
39
std::string
resolveErrorString
();
40
static
std::string
concatenateErrorStrings
(
unsigned
long
long
errorCode);
41
std::string
concatenateErrorStrings
();
42
~ErrorStruct
();
43
};
44
45
#endif
sources
src
ErrorStruct.hpp
Generated on Mon Jan 13 2014 16:16:16 for highlighter application by
1.8.1.2