Go to the source code of this file.
|
| #define | DECLARE_LEVEL(NAME) |
| | Helper macro for constructing the function's code.
|
|
| const std::string & | MSG::name (Level lvl) |
| | Convenience function for translating message levels to strings.
|
◆ DECLARE_LEVEL
| #define DECLARE_LEVEL |
( |
| NAME | ) |
|
Value: case MSG::NAME: \
{ \
static const std::string name( #NAME ); \
return name; \
} \
break
Helper macro for constructing the function's code.
Definition at line 9 of file MsgLevel.cxx.
9#define DECLARE_LEVEL( NAME ) \
10 case MSG::NAME: \
11 { \
12 static const std::string name( #NAME ); \
13 return name; \
14 } \
15 break