mockpp::TypelessStubAdapterBase< R, I > Class Template Reference

Base of adapters for the "translation" to typeless stub objects. More...

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

List of all members.

Public Member Functions

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

Protected Member Functions

 TypelessStubAdapterBase (typename TypelessStub< R >::AP tm, bool in_delete)
 Creates the object.
virtual ~TypelessStubAdapterBase ()
 Destroys the object.

Protected Attributes

TypelessStub< R > * stubber
 internal shared member
bool do_delete
 internal shared member

Detailed Description

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

Base of adapters for the "translation" to typeless stub objects.

Definition at line 79 of file TypelessStub.h.


Constructor & Destructor Documentation

template<typename R, typename I>
mockpp::TypelessStubAdapterBase< R, I >::TypelessStubAdapterBase ( typename TypelessStub< R >::AP  tm,
bool  in_delete 
) [inline, protected]

Creates the object.

Parameters:
tm pointer to stub object
in_delete true: delete stub when the object is destroyed

Definition at line 87 of file TypelessStub.h.


Member Function Documentation

template<typename R, typename I>
virtual String mockpp::TypelessStubAdapterBase< 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 buffer passed to the object.

Implements mockpp::SelfDescribing.

Definition at line 107 of file TypelessStub.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:04 2010 for mockpp by  doxygen 1.6.1