This encapsulates knowledge about how the InvocationMockerBuilder class adds matchers to an InvocationMocker. More...
Public Member Functions | |
virtual bool | hasDescription () |
Does the object provide meaningful description via describeTo() ?. | |
virtual 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. |
This encapsulates knowledge about how the InvocationMockerBuilder class adds matchers to an InvocationMocker.
Therefore it should be considered to be part of the implementation of the InvocationMockerBuilder class.
Definition at line 251 of file InvocationMocker.h.
virtual String mockpp::InvocationMockerBase< R, I >::Describer::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 270 of file InvocationMocker.h.
virtual bool mockpp::InvocationMockerBase< R, I >::Describer::hasDescription | ( | ) | [inline, virtual] |
Does the object provide meaningful description via describeTo() ?.
Implements mockpp::InvocationMockerBase< R, I >::DescriberBase.
Definition at line 258 of file InvocationMocker.h.