opendnp3  3.1.0
Reference implementation of DNP3 (IEEE-1815)
opendnp3::LogLevel Struct Reference

#include <opendnp3/logging/LogLevels.h>

Public Member Functions

 LogLevel ()=default
 
 LogLevel (int32_t level)
 
LogLevel next () const
 
bool operator== (const LogLevel &other) const
 

Public Attributes

int32_t value = 0
 

Detailed Description

Definition at line 38 of file LogLevels.h.

Constructor & Destructor Documentation

◆ LogLevel() [1/2]

opendnp3::LogLevel::LogLevel ( )
default

Referenced by next().

◆ LogLevel() [2/2]

opendnp3::LogLevel::LogLevel ( int32_t  level)
inlineexplicit

Definition at line 43 of file LogLevels.h.

Member Function Documentation

◆ next()

LogLevel opendnp3::LogLevel::next ( ) const
inline

Definition at line 45 of file LogLevels.h.

References LogLevel(), and value.

◆ operator==()

bool opendnp3::LogLevel::operator== ( const LogLevel other) const
inline

Definition at line 50 of file LogLevels.h.

References value.

Member Data Documentation

◆ value

int32_t opendnp3::LogLevel::value = 0

The documentation for this struct was generated from the following file: