A description of a Matcher. More...
#include <description.h>
Classes | |
class | NullDescription |
Public Member Functions | |
virtual Description & | appendText (const QString &text)=0 |
Appends some plain text to the description. | |
virtual Description & | appendDescriptionOf (const SelfDescribing &value)=0 |
Appends the description of a SelfDescribing value to this description. | |
template<typename T > | |
Description & | appendValue (const T &value) |
Appends an arbitrary value to the description. | |
Description & | appendValue (short value) |
Description & | appendValue (long value) |
Description & | appendValue (float value) |
Description & | appendValue (double value) |
Description & | appendValue (const char *value) |
Description & | appendValue (const QString &value) |
Description & | appendValue (char value) |
Description & | appendValue (const QChar &value) |
template<typename Iterator > | |
Description & | appendList (const QString &start, const QString &separator, const QString &end, Iterator startIterator, Iterator endIterator) |
Appends a list of SelfDescribing objects to the description. | |
virtual QString | toString () const =0 |
Converts the description into a QString value. | |
Static Public Member Functions | |
static Description & | NONE () |
A description of a Matcher.
A Matcher will describe itself to a description which can later be used for reporting.