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

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

Inheritance diagram for mockpp::ArgumentsMatchBuilder1< 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 ConstraintSet1< P1ConstraintSetType
 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)
 Indicate a matcher for 1 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::ArgumentsMatchBuilder1< R, I >

Build a matcher for an invocation with 1 argument.

Definition at line 46 of file ArgumentsMatchBuilderN.h.


Member Function Documentation

template<typename R, typename I>
virtual MatchBuilder<R, I>& mockpp::ArgumentsMatchBuilder1< 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::ArgumentsMatchBuilder1< 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