mockpp::CustomStub< R, I > Class Template Reference
[Stubs]

A stub to implement application-specific stubs. More...

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

List of all members.

Public Member Functions

 CustomStub (const String &in_description)
 Creates the object.
virtual String describeTo (String &buffer) const
 Appends the description of this object to the buffer.

Protected Member Functions

String internalDescribeTo (String &buffer) const
 Appends the description of this object to the buffer.

Detailed Description

template<typename R, typename I>
class mockpp::CustomStub< R, I >

A stub to implement application-specific stubs.

Definition at line 50 of file CustomStub.h.


Constructor & Destructor Documentation

template<typename R , typename I >
mockpp::CustomStub< R, I >::CustomStub ( const String in_description  )  [inline]

Creates the object.

Parameters:
in_description a string describing the stub

Definition at line 57 of file CustomStub.h.


Member Function Documentation

template<typename R , typename I >
virtual String mockpp::CustomStub< R, I >::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::SelfDescribing.

Definition at line 65 of file CustomStub.h.

template<typename R , typename I >
String mockpp::CustomStub< R, I >::internalDescribeTo ( String buffer  )  const [inline, protected]

Appends the description of this object to the buffer.

Needed for compilers that can't invoke CustumStub<>::describeTo() directly.

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

Definition at line 77 of file CustomStub.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