opendnp3
3.1.0
Reference implementation of DNP3 (IEEE-1815)
|
Strongly typed wrapper for flags bitfield. More...
#include <opendnp3/logging/LogLevels.h>
Public Member Functions | |
LogLevels ()=default | |
LogLevels (int32_t levels) | |
LogLevels (LogLevel level) | |
int32_t | get_value () const |
bool | is_set (const LogLevel &level) const |
LogLevels | operator| (const LogLevel &other) const |
LogLevels | operator| (const LogLevels &other) const |
LogLevels & | operator|= (const LogLevel &other) |
LogLevels & | operator|= (const LogLevels &other) |
LogLevels | operator~ () const |
Static Public Member Functions | |
static LogLevels | everything () |
static LogLevels | none () |
Private Attributes | |
int32_t | levels = 0 |
Strongly typed wrapper for flags bitfield.
Definition at line 61 of file LogLevels.h.
|
default |
Referenced by everything(), none(), operator|(), and operator~().
|
inlineexplicit |
Definition at line 66 of file LogLevels.h.
|
inline |
Definition at line 68 of file LogLevels.h.
|
inlinestatic |
Definition at line 75 of file LogLevels.h.
References LogLevels().
|
inline |
Definition at line 112 of file LogLevels.h.
References levels.
Definition at line 80 of file LogLevels.h.
References levels, and opendnp3::LogLevel::value.
|
inlinestatic |
Definition at line 70 of file LogLevels.h.
References LogLevels().
Definition at line 96 of file LogLevels.h.
References levels, LogLevels(), and opendnp3::LogLevel::value.
Definition at line 107 of file LogLevels.h.
References levels, and LogLevels().
Definition at line 90 of file LogLevels.h.
References levels, and opendnp3::LogLevel::value.
Definition at line 101 of file LogLevels.h.
References levels.
|
inline |
Definition at line 85 of file LogLevels.h.
References levels, and LogLevels().
|
private |
Definition at line 118 of file LogLevels.h.
Referenced by get_value(), is_set(), operator|(), operator|=(), and operator~().