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

Container of matchers for stubs. More...

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

List of all members.

Public Member Functions

virtual ~StubMatchersCollection ()
 Destroys the object.
virtual void setName (const String &name)=0
 Sets the objects name.
virtual void addMatcher (const MatcherHolder< I > &matcher)=0
 Adds another matcher.
virtual void setStub (const StubHolder< R, I > &stub)=0
 Sets the stub data for the invocation.

Detailed Description

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

Container of matchers for stubs.

Definition at line 53 of file StubMatchersCollection.h.


Member Function Documentation

template<typename R, typename I>
virtual void mockpp::StubMatchersCollection< R, I >::addMatcher ( const MatcherHolder< I > &  matcher  )  [pure virtual]

Adds another matcher.

Parameters:
matcher the matcher object
Returns:
the builder object

Implemented in mockpp::InvocationMockerBase< R, I >, and mockpp::InvocationMockerBase< void, I >.

template<typename R, typename I>
virtual void mockpp::StubMatchersCollection< R, I >::setName ( const String name  )  [pure virtual]

Sets the objects name.

Parameters:
name object name

Implemented in mockpp::InvocationMockerBase< R, I >, and mockpp::InvocationMockerBase< void, I >.

template<typename R, typename I>
virtual void mockpp::StubMatchersCollection< R, I >::setStub ( const StubHolder< R, I > &  stub  )  [pure virtual]

Sets the stub data for the invocation.

Parameters:
stub the stub object

Implemented in mockpp::InvocationMockerBase< R, I >, and mockpp::InvocationMockerBase< void, I >.


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