Tag Parser 12.3.1
C++ library for reading and writing MP4 (iTunes), ID3, Vorbis, Opus, FLAC and Matroska tags
|
The Diagnostics class is a container for DiagMessage. More...
#include <diagnostics.h>
Public Member Functions | |
Diagnostics ()=default | |
Diagnostics (std::initializer_list< DiagMessage > list) | |
Constructs a new container with the specified messages. | |
bool | has (DiagLevel level) const |
Returns whether there's at least one DiagMessage which is at least as worse as level. | |
DiagLevel | level () const |
Returns the worst diag level present in the container. | |
The Diagnostics class is a container for DiagMessage.
Definition at line 156 of file diagnostics.h.
|
default |
|
inline |
Constructs a new container with the specified messages.
Definition at line 168 of file diagnostics.h.
bool TagParser::Diagnostics::has | ( | DiagLevel | level | ) | const |
Returns whether there's at least one DiagMessage which is at least as worse as level.
Definition at line 42 of file diagnostics.cpp.
DiagLevel TagParser::Diagnostics::level | ( | ) | const |
Returns the worst diag level present in the container.
Definition at line 55 of file diagnostics.cpp.