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

Default describer. More...

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

List of all members.

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.

Detailed Description

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

Default describer.

Definition at line 313 of file InvocationMocker.h.


Member Function Documentation

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

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 329 of file InvocationMocker.h.

template<typename R, typename I>
virtual bool mockpp::InvocationMockerBase< R, I >::DefaultDescriber::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 317 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