mockpp::TypelessStub< R > Class Template Reference

An object that stubs the behaviour of an invoked method invocation on behalf of an object. More...

Inheritance diagram for mockpp::TypelessStub< R >:
Inheritance graph
[legend]

List of all members.

Public Types

typedef AutoPointer
< TypelessStub< R > > 
AP
 internal shared member

Public Member Functions

virtual ~TypelessStub ()
 Destroys the object.
virtual R typelessInvoke ()=0
 Mock the invocation without passing parameters.
virtual String describeTo (String &buffer) const =0
 Appends the description of this object to the buffer.

Detailed Description

template<typename R>
class mockpp::TypelessStub< R >

An object that stubs the behaviour of an invoked method invocation on behalf of an object.

The return value never depends on the parameters passed to the object.

Definition at line 50 of file TypelessStub.h.


Member Function Documentation

template<typename R>
virtual String mockpp::TypelessStub< R >::describeTo ( String buffer  )  const [pure virtual]
template<typename R>
virtual R mockpp::TypelessStub< R >::typelessInvoke (  )  [pure virtual]

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:04 2010 for mockpp by  doxygen 1.6.1