Load into the specified level the severity corresponding to name.
Synopsis
Declared in <ball_severityutil.h>
static
int
fromAsciiCaseless(
Severity::Level* level,
char const* name);
Description
Load into the specified level the value of the Severity::Level enumerator corresponding to the specified name (without regard to the case of the characters in name). Return 0 on success, and a non‐zero value with no effect on level otherwise. The behavior is undefined unless level is non‐null and name is a null‐terminated (C‐style) string. Note that this procedure will fail unless isValidName(name) is true.
Return Value
0 on success, and a non‐zero value otherwise
Parameters
Name |
Description |
level |
severity level to set |
name |
case‐insensitive severity name |
Created with MrDocs