Hamcrest-Qt  0.0.1
Hamcrest matchers for C++/Qt
 All Classes Namespaces Functions
Public Member Functions | List of all members
HamcrestQt::SelfDescribing Class Referenceabstract

The ability of an object to describe itself. More...

#include <selfdescribing.h>

Inheritance diagram for HamcrestQt::SelfDescribing:
HamcrestQt::Matcher< T > HamcrestQt::Matcher< QString > HamcrestQt::BaseMatcher< T > HamcrestQt::BaseMatcher< QString > HamcrestQt::DiagnosingMatcher< T > HamcrestQt::Is< T > HamcrestQt::IsEqual< T > HamcrestQt::IsNot< T > HamcrestQt::ShortcutCombination< T > HamcrestQt::SubstringMatcher HamcrestQt::AllOf< T > HamcrestQt::AnyOf< T > HamcrestQt::StringContains HamcrestQt::StringEndsWith HamcrestQt::StringStartsWith

Public Member Functions

virtual void describeTo (Description &description) const =0
 Generates a description of the object. More...
 

Detailed Description

The ability of an object to describe itself.

Member Function Documentation

virtual void HamcrestQt::SelfDescribing::describeTo ( Description description) const
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.

Parameters
descriptionThe 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.


The documentation for this class was generated from the following file: