A set of constraints for a method with 4 arguments. More...
Public Types | |
typedef P1 | ValueType1 |
internal shorthand | |
typedef P2 | ValueType2 |
internal shorthand | |
typedef P3 | ValueType3 |
internal shorthand | |
typedef P4 | ValueType4 |
internal shorthand | |
Public Member Functions | |
ConstraintSet4 (const ConstraintHolder< P1 > &in_constraint1, const ConstraintHolder< P2 > &in_constraint2, const ConstraintHolder< P3 > &in_constraint3, const ConstraintHolder< P4 > &in_constraint4) | |
Constructs the object. | |
virtual | ~ConstraintSet4 () |
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. |
A set of constraints for a method with 4 arguments.
Definition at line 215 of file ConstraintSetN.h.
mockpp::ConstraintSet4< P1, P2, P3, P4 >::ConstraintSet4 | ( | const ConstraintHolder< P1 > & | in_constraint1, | |
const ConstraintHolder< P2 > & | in_constraint2, | |||
const ConstraintHolder< P3 > & | in_constraint3, | |||
const ConstraintHolder< P4 > & | in_constraint4 | |||
) | [inline] |
Constructs the object.
in_constraint1 | constraint 1 | |
in_constraint2 | constraint 2 | |
in_constraint3 | constraint 3 | |
in_constraint4 | constraint 4 |
Definition at line 230 of file ConstraintSetN.h.
virtual String mockpp::ConstraintSet4< P1, P2, P3, P4 >::describeTo | ( | String & | buffer | ) | const [inline, virtual] |
Appends the description of this object to the buffer.
buffer | The buffer that the description is appended to. |
Definition at line 262 of file ConstraintSetN.h.
bool mockpp::ConstraintSet4< P1, P2, P3, P4 >::matches | ( | const I & | invocation | ) | [inline] |
Tests if the constraint set matches the invocation.
invocation | the invocation data |
Definition at line 250 of file ConstraintSetN.h.