mockpp::ConstraintSet6< P1, P2, P3, P4, P5, P6 > Class Template Reference

A set of constraints for a method with 6 arguments. More...

List of all members.

Public Types

typedef P1 ValueType1
 internal shorthand
typedef P2 ValueType2
 internal shorthand
typedef P3 ValueType3
 internal shorthand
typedef P4 ValueType4
 internal shorthand
typedef P5 ValueType5
 internal shorthand
typedef P6 ValueType6
 internal shorthand

Public Member Functions

 ConstraintSet6 (const ConstraintHolder< P1 > &in_constraint1, const ConstraintHolder< P2 > &in_constraint2, const ConstraintHolder< P3 > &in_constraint3, const ConstraintHolder< P4 > &in_constraint4, const ConstraintHolder< P5 > &in_constraint5, const ConstraintHolder< P6 > &in_constraint6)
 Constructs the object.
virtual ~ConstraintSet6 ()
 Destroys the object.
template<typename I >
bool matches (const I &invocation)
 Tests if the constraint set matches the invocation.
virtual String describeTo (String &buffer) const
 Appends the description of this object to the buffer.

Detailed Description

template<typename P1, typename P2, typename P3, typename P4, typename P5, typename P6>
class mockpp::ConstraintSet6< P1, P2, P3, P4, P5, P6 >

A set of constraints for a method with 6 arguments.

Definition at line 364 of file ConstraintSetN.h.


Constructor & Destructor Documentation

template<typename P1 , typename P2 , typename P3 , typename P4 , typename P5 , typename P6 >
mockpp::ConstraintSet6< P1, P2, P3, P4, P5, P6 >::ConstraintSet6 ( const ConstraintHolder< P1 > &  in_constraint1,
const ConstraintHolder< P2 > &  in_constraint2,
const ConstraintHolder< P3 > &  in_constraint3,
const ConstraintHolder< P4 > &  in_constraint4,
const ConstraintHolder< P5 > &  in_constraint5,
const ConstraintHolder< P6 > &  in_constraint6 
) [inline]

Constructs the object.

Parameters:
in_constraint1 constraint 1
in_constraint2 constraint 2
in_constraint3 constraint 3
in_constraint4 constraint 4
in_constraint5 constraint 5
in_constraint6 constraint 6

Definition at line 383 of file ConstraintSetN.h.


Member Function Documentation

template<typename P1 , typename P2 , typename P3 , typename P4 , typename P5 , typename P6 >
virtual String mockpp::ConstraintSet6< P1, P2, P3, P4, P5, P6 >::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

Definition at line 421 of file ConstraintSetN.h.

template<typename P1 , typename P2 , typename P3 , typename P4 , typename P5 , typename P6 >
template<typename I >
bool mockpp::ConstraintSet6< P1, P2, P3, P4, P5, P6 >::matches ( const I &  invocation  )  [inline]

Tests if the constraint set matches the invocation.

Parameters:
invocation the invocation data
Returns:
true: the set matches

Definition at line 407 of file ConstraintSetN.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:06 2010 for mockpp by  doxygen 1.6.1