Default describer. More...
Public Member Functions | |
virtual bool | hasDescription () |
Does the object provide meaningful description via describeTo() ?. | |
String | describeTo (String &result, const std::vector< InvocationMatcher< I > * > &matchers, Stub< R, I > *stub, const String &name) const |
Appends the description of this object to the buffer. |
Default describer.
Definition at line 313 of file InvocationMocker.h.
String mockpp::InvocationMockerBase< R, I >::DefaultDescriber::describeTo | ( | String & | result, | |
const std::vector< InvocationMatcher< I > * > & | matchers, | |||
Stub< R, I > * | stub, | |||
const String & | name | |||
) | const [inline, virtual] |
Appends the description of this object to the buffer.
result | the buffer that the description is appended to. | |
matchers | a list of matcher objects | |
stub | pointer to the stub | |
name | the object's name |
Implements mockpp::InvocationMockerBase< R, I >::DescriberBase.
Definition at line 329 of file InvocationMocker.h.
virtual bool mockpp::InvocationMockerBase< R, I >::DefaultDescriber::hasDescription | ( | ) | [inline, virtual] |
Does the object provide meaningful description via describeTo() ?.
Implements mockpp::InvocationMockerBase< R, I >::DescriberBase.
Definition at line 317 of file InvocationMocker.h.