Tag Parser
7.1.0
C++ library for reading and writing MP4 (iTunes), ID3, Vorbis, Opus, FLAC and Matroska tags
|
The DiagMessage class holds an information, warning or error gathered during parsing or making. More...
#include <diagnostics.h>
Public Member Functions | |
DiagMessage (DiagLevel level, const std::string &message, const std::string &context) | |
Constructs a new DiagMessage. More... | |
DiagMessage (DiagLevel level, std::string &&message, const std::string &context) | |
Constructs a new DiagMessage. More... | |
DiagMessage (DiagLevel level, const std::string &message, std::string &&context) | |
Constructs a new DiagMessage. More... | |
DiagMessage (DiagLevel level, std::string &&message, std::string &&context) | |
Constructs a new DiagMessage. More... | |
DiagLevel | level () const |
Returns the level. More... | |
const char * | levelName () const |
Returns the string representation of the level(). More... | |
const std::string & | message () const |
Returns the message. More... | |
const std::string & | context () const |
Returns the context. More... | |
const ChronoUtilities::DateTime & | creationTime () const |
Returns the creation time (using GMT timezone). More... | |
bool | operator== (const DiagMessage &other) const |
Returns whether the current instance equals other. More... | |
The DiagMessage class holds an information, warning or error gathered during parsing or making.
Definition at line 41 of file diagnostics.h.
|
inline |
Constructs a new DiagMessage.
Definition at line 65 of file diagnostics.h.
|
inline |
Constructs a new DiagMessage.
Definition at line 76 of file diagnostics.h.
|
inline |
Constructs a new DiagMessage.
Definition at line 87 of file diagnostics.h.
|
inline |
Constructs a new DiagMessage.
Definition at line 98 of file diagnostics.h.
|
inline |
Returns the context.
Definition at line 133 of file diagnostics.h.
|
inline |
Returns the creation time (using GMT timezone).
Definition at line 141 of file diagnostics.h.
|
inline |
Returns the level.
Definition at line 109 of file diagnostics.h.
|
inline |
Returns the string representation of the level().
Definition at line 117 of file diagnostics.h.
|
inline |
Returns the message.
Definition at line 125 of file diagnostics.h.
|
inline |
Returns whether the current instance equals other.
Everything but the creationTime() is considered.
Definition at line 149 of file diagnostics.h.