Hamcrest-Qt  0.0.1
Hamcrest matchers for C++/Qt
 All Classes Namespaces Functions
selfdescribing.h
1 #ifndef HAMCRESTQT_SELFDESCRIBING_H
2 #define HAMCRESTQT_SELFDESCRIBING_H
3 
4 namespace HamcrestQt {
5 
6 class Description;
7 
12 {
13 public:
14  virtual ~SelfDescribing() {}
15 
24  virtual void describeTo(Description &description) const = 0;
25 };
26 
27 } // namespace HamcrestQt
28 
29 #endif // HAMCRESTQT_SELFDESCRIBING_H
A description of a Matcher.
Definition: description.h:17
virtual void describeTo(Description &description) const =0
Generates a description of the object.
The ability of an object to describe itself.
Definition: selfdescribing.h:11