mockpp::ArgumentsMatchBuilder2< R, I > Class Template Reference
[Chaining behaviour of a Chainable Mock Object]

Build a matcher for an invocation with 2 argument. More...

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

List of all members.

Public Types

typedef R ReturnType
 internal shared member
typedef I InvocationType
 internal shared member
typedef I::T1Type P1
 internal shared member
typedef I::T2Type P2
 internal shared member
typedef ConstraintSet2< P1, P2ConstraintSetType
 internal shorthand

Public Member Functions

virtual MatchBuilder< R, I > & addMatcher (const MatcherHolder< I > &matcher)=0
 Adds another matcher.
MatchBuilder< R, I > & with (const ConstraintHolder< P1 > &p1, const ConstraintHolder< P2 > &p2)
 Indicate a matcher for 2 arguments.

Protected Member Functions

virtual MatchBuilder< R, I > & with_cs (const ConstraintSetType &constraintset)=0
 Indicate a matcher for a set of arguments.

Detailed Description

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

Build a matcher for an invocation with 2 argument.

Definition at line 88 of file ArgumentsMatchBuilderN.h.


Member Function Documentation

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

Adds another matcher.

Parameters:
matcher the matcher object
Returns:
the builder object
template<typename R, typename I>
virtual MatchBuilder<R, I>& mockpp::ArgumentsMatchBuilder2< R, I >::with_cs ( const ConstraintSetType constraintset  )  [protected, pure virtual]

Indicate a matcher for a set of arguments.

Parameters:
constraintset constraint set
Returns:
the builder object

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