|
KanoopCommonQt 2.1.1
Kanoop foundational Qt utility library
|
|
Bidirectional map between LogLevel values and their string names. More...
#include <loggingtypes.h>
Inheritance diagram for Log::LogLevelToStringMap:
Collaboration diagram for Log::LogLevelToStringMap:Public Member Functions | |
| LogLevelToStringMap () | |
| Populate the map with all standard LogLevel name pairs. | |
Public Member Functions inherited from KANOOP::EnumToStringMap< LogLevel > | |
| QString | getString (LogLevel type, const QString &defaultValue=QString()) const |
| Look up the string name for an enum value. | |
| LogLevel | getType (const QString &name, Qt::CaseSensitivity caseSensitivity, const LogLevel defaultValue=LogLevel()) const |
| Look up the enum value for a string name, with case sensitivity control. | |
| LogLevel | getType (const QString &name, const LogLevel defaultValue=LogLevel()) const |
| Look up the enum value for a string name using case-sensitive comparison. | |
| QList< LogLevel > | getTypes () const |
| Return all enum values registered in this map. | |
| bool | containsString (const QString &name, Qt::CaseSensitivity cs=Qt::CaseInsensitive) const |
| Test whether the map contains a given string value. | |
Bidirectional map between LogLevel values and their string names.
Definition at line 58 of file loggingtypes.h.
|
inline |
Populate the map with all standard LogLevel name pairs.
Definition at line 62 of file loggingtypes.h.
References Log::Alert, Log::Critical, Log::Debug, Log::Emergency, Log::Error, Log::Info, Log::Notice, and Log::Warning.