1#ifndef TAGPARSER_TEST_HELPER
2#define TAGPARSER_TEST_HELPER
48 return os << diagMessage.
levelName() <<
':' <<
' ' << diagMessage.
message() <<
' ' <<
'(' << diagMessage.
context() <<
')';
The DiagMessage class holds an information, warning or error gathered during parsing or making.
std::string_view levelName() const
Returns the string representation of the level().
const std::string & context() const
Returns the context.
const std::string & message() const
Returns the message.
The PositionInSet class describes the position of an element in a set which consists of a certain num...
StringType toString() const
Returns the string representation of the current PositionInSet.
The Size class defines the size of a two-dimensional object using integer point precision.
std::string toString() const
Returns the string representation of the current size.
The TagValue class wraps values of different types.
TagTextEncoding dataEncoding() const
Returns the data encoding.
TagTextEncoding descriptionEncoding() const
Returns the description encoding.
std::string toString(TagTextEncoding encoding=TagTextEncoding::Unspecified) const
Converts the value of the current TagValue object to its equivalent std::string representation.
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.
TagTextEncoding
Specifies the text encoding.
The Locale struct specifies a language and/or a country using one or more LocaleDetail objects.
std::string toString() const
Returns all details as comma-separated string.