mockpp::CallStub< F > Class Template Reference
[Stubs]

Always call some functor. More...

Inheritance diagram for mockpp::CallStub< F >:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 CallStub (F in_functor)
 Creates the object.
virtual void typelessInvoke ()
 Mock the invocation without passing parameters.
virtual String describeTo (String &buffer) const
 Appends the description of this object to the buffer.

Detailed Description

template<typename F>
class mockpp::CallStub< F >

Always call some functor.

See also:
mockpp::returnValueAndCall

Definition at line 49 of file CallStub.h.


Constructor & Destructor Documentation

template<typename F >
mockpp::CallStub< F >::CallStub ( in_functor  )  [inline]

Creates the object.

Parameters:
in_functor functor to call

Definition at line 56 of file CallStub.h.


Member Function Documentation

template<typename F >
virtual String mockpp::CallStub< F >::describeTo ( String buffer  )  const [inline, virtual]

Appends the description of this object to the buffer.

Parameters:
buffer The buffer that the description is appended to.
Returns:
The current content of the buffer data

Implements mockpp::TypelessStub< void >.

Definition at line 72 of file CallStub.h.

template<typename F >
virtual void mockpp::CallStub< F >::typelessInvoke (  )  [inline, virtual]

Mock the invocation without passing parameters.

Calls the functor.

Implements mockpp::TypelessStub< void >.

Definition at line 63 of file CallStub.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:02 2010 for mockpp by  doxygen 1.6.1