Tag Parser
9.0.0
C++ library for reading and writing MP4 (iTunes), ID3, Vorbis, Opus, FLAC and Matroska tags
|
Go to the documentation of this file. 1 #ifndef TAGPARSER_TEST_HELPER
2 #define TAGPARSER_TEST_HELPER
4 #include "../diagnostics.h"
6 #include "../tagvalue.h"
47 return os << diagMessage.
levelName() <<
':' <<
' ' << diagMessage.
message() <<
' ' <<
'(' << diagMessage.
context() <<
')';
52 #endif // TAGPARSER_TEST_HELPER
TagTextEncoding
Specifies the text encoding.
const std::string & context() const
Returns the context.
TagTextEncoding descriptionEncoding() const
Returns the description encoding.
const char * levelName() const
Returns the string representation of the level().
const std::string & description() const
Returns the description.
std::ostream & operator<<(std::ostream &os, const TagParser::TagTextEncoding &encoding)
Prints a TagTextEncoding to enable CPPUNIT_ASSERT_EQUAL for tag values.
The Size class defines the size of a two-dimensional object using integer point precision.
The DiagMessage class holds an information, warning or error gathered during parsing or making.
The TagValue class wraps values of different types. It is meant to be assigned to a tag field.
std::string toString(TagTextEncoding encoding=TagTextEncoding::Unspecified) const
Converts the value of the current TagValue object to its equivalent std::string representation.
The PositionInSet class describes the position of an element in a set which consists of a certain num...
const std::string & message() const
Returns the message.
TagTextEncoding dataEncoding() const
Returns the data encoding.
std::string toString() const
Returns the string representation of the current size.
StringType toString() const
Returns the string representation of the current PositionInSet.