The ability of an object to describe itself. More...
#include <selfdescribing.h>
Public Member Functions | |
virtual void | describeTo (Description &description) const =0 |
Generates a description of the object. More... | |
The ability of an object to describe itself.
|
pure virtual |
Generates a description of the object.
The description may be part of a description of a larger object of which this is just a component, so it should be worded appropriately.
description | The description to be built or appended to. |
Implemented in HamcrestQt::AllOf< T >, HamcrestQt::Is< T >, HamcrestQt::IsEqual< T >, HamcrestQt::AnyOf< T >, HamcrestQt::IsNot< T >, and HamcrestQt::SubstringMatcher.