A Description that is stored as a string.
More...
#include <stringdescription.h>
|
virtual void | appendString (const QString &str) |
| Append the String str to the description. More...
|
|
virtual void | append (const QChar &c) |
|
virtual void | toCppSyntaxString (const QString &unformatted) |
|
virtual void | toCppSyntax (const QChar &ch) |
|
A Description that is stored as a string.
void HamcrestQt::StringDescription::appendString |
( |
const QString & |
str | ) |
|
|
protectedvirtual |
Append the String str to the description.
The default implementation passes every character to append(QChar). Override in subclasses to provide an efficient implementation.
Reimplemented from HamcrestQt::BaseDescription.
QString HamcrestQt::StringDescription::toString |
( |
const SelfDescribing & |
selfDescribing | ) |
|
|
static |
Return the description of a SelfDescribing object as a QString
.
- Parameters
-
selfDescribing | The object to be described. |
- Returns
- The description of the object.
The documentation for this class was generated from the following files:
- C:/Users/Christian/Documents/GitHub/Hamcrest-Qt/src/core/stringdescription.h
- C:/Users/Christian/Documents/GitHub/Hamcrest-Qt/src/core/stringdescription.cpp