mockpp::InvocationMockerBase< R, I >::Describer Class Reference

This encapsulates knowledge about how the InvocationMockerBuilder class adds matchers to an InvocationMocker. More...

Inheritance diagram for mockpp::InvocationMockerBase< R, I >::Describer:
Inheritance graph
[legend]

List of all members.

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.

Detailed Description

template<typename R, typename I>
class mockpp::InvocationMockerBase< R, I >::Describer

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.


Member Function Documentation

template<typename R, typename I>
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.

Parameters:
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
Returns:
The current content of the buffer data

Implements mockpp::InvocationMockerBase< R, I >::DescriberBase.

Definition at line 270 of file InvocationMocker.h.

template<typename R, typename I>
virtual bool mockpp::InvocationMockerBase< R, I >::Describer::hasDescription (  )  [inline, virtual]

Does the object provide meaningful description via describeTo() ?.

Returns:
true: description is available

Implements mockpp::InvocationMockerBase< R, I >::DescriberBase.

Definition at line 258 of file InvocationMocker.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Friends Defines

Generated on Tue Jan 5 09:49:13 2010 for mockpp by  doxygen 1.6.1