mockpp::ThrowStubBase< R > Class Template Reference
[Stubs]

Base for stubs throwing exceptions. More...

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

List of all members.

Public Member Functions

 ThrowStubBase (Throwable *in_throwable)
 Creates the object.
 ThrowStubBase (ThrowableItem &in_throwable)
 Creates the object.
virtual String describeTo (String &buffer) const
 Appends the description of this object to the buffer.

Protected Attributes

ThrowableItem throwable
 internal shared member

Detailed Description

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

Base for stubs throwing exceptions.

See also:
mockpp::throwException

Definition at line 51 of file ThrowStub.h.


Constructor & Destructor Documentation

template<typename R>
mockpp::ThrowStubBase< R >::ThrowStubBase ( Throwable in_throwable  )  [inline]

Creates the object.

Parameters:
in_throwable pointer to the object to throw

Definition at line 58 of file ThrowStub.h.

template<typename R>
mockpp::ThrowStubBase< R >::ThrowStubBase ( ThrowableItem in_throwable  )  [inline]

Creates the object.

Parameters:
in_throwable the object to throw

Definition at line 65 of file ThrowStub.h.


Member Function Documentation

template<typename R>
virtual String mockpp::ThrowStubBase< R >::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< R >.

Definition at line 73 of file ThrowStub.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:03 2010 for mockpp by  doxygen 1.6.1