|
BDE 4.14.0 Production release
|
#include <ball_severity.h>
Public Types | |
| enum | Level { e_OFF = 0 , e_FATAL = 32 , e_ERROR = 64 , e_WARN = 96 , e_INFO = 128 , e_DEBUG = 160 , e_TRACE = 192 , BAEL_OFF = e_OFF , BAEL_FATAL = e_FATAL , BAEL_ERROR = e_ERROR , BAEL_WARN = e_WARN , BAEL_INFO = e_INFO , BAEL_DEBUG = e_DEBUG , BAEL_TRACE = e_TRACE , OFF = e_OFF , FATAL = e_FATAL , ERROR = e_ERROR , WARN = e_WARN , INFO = e_INFO , DEBUG = e_DEBUG , TRACE = e_TRACE } |
| enum | { e_LENGTH = 7 } |
Static Public Member Functions | |
| static int | fromAscii (Severity::Level *level, const char *string, int stringLength) |
| static const char * | toAscii (Severity::Level value) |
| static bsl::ostream & | streamOut (bsl::ostream &stream, Severity::Level value) |
| anonymous enum |
|
static |
Load into the specified level the severity matching the specified case-insensitive string of the specified stringLength. Return 0 on success, and a non-zero value with no effect on level otherwise (i.e., string does not match any Level enumerator).
|
inlinestatic |
Format the specified value to the specified output stream and return a reference to the modifiable stream.
|
static |
Return the string representation exactly matching the enumerator name corresponding to the specified enumeration value.