mockpp::ReturnAndTriggerStub6< R, T1, T2, T3, T4, T5, T6 > Class Template Reference
[Stubs]

Always return the same specified value and trigger some contraint. More...

Inheritance diagram for mockpp::ReturnAndTriggerStub6< R, T1, T2, T3, T4, T5, T6 >:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 ReturnAndTriggerStub6 (const R &in_result, TriggeredConstraint< T1 > *in_tc1, TriggeredConstraint< T2 > *in_tc2, TriggeredConstraint< T3 > *in_tc3, TriggeredConstraint< T4 > *in_tc4, TriggeredConstraint< T5 > *in_tc5, TriggeredConstraint< T6 > *in_tc6)
 Creates the object.
virtual R typelessInvoke ()
 Mock the invocation without passing parameters.
virtual String describeTo (String &buffer) const
 Appends the description of this object to the buffer.

Detailed Description

template<typename R, typename T1, typename T2, typename T3, typename T4, typename T5, typename T6>
class mockpp::ReturnAndTriggerStub6< R, T1, T2, T3, T4, T5, T6 >

Always return the same specified value and trigger some contraint.

See also:
mockpp::returnValueAndTrigger

Definition at line 488 of file ReturnAndTriggerStub.h.


Constructor & Destructor Documentation

template<typename R, typename T1, typename T2, typename T3, typename T4, typename T5, typename T6>
mockpp::ReturnAndTriggerStub6< R, T1, T2, T3, T4, T5, T6 >::ReturnAndTriggerStub6 ( const R &  in_result,
TriggeredConstraint< T1 > *  in_tc1,
TriggeredConstraint< T2 > *  in_tc2,
TriggeredConstraint< T3 > *  in_tc3,
TriggeredConstraint< T4 > *  in_tc4,
TriggeredConstraint< T5 > *  in_tc5,
TriggeredConstraint< T6 > *  in_tc6 
) [inline]

Creates the object.

Parameters:
in_result the return value
in_tc1 pointer to trigger constraint 1
in_tc2 pointer to trigger constraint 2
in_tc3 pointer to trigger constraint 3
in_tc4 pointer to trigger constraint 4
in_tc5 pointer to trigger constraint 5
in_tc6 pointer to trigger constraint 6

Definition at line 501 of file ReturnAndTriggerStub.h.


Member Function Documentation

template<typename R, typename T1, typename T2, typename T3, typename T4, typename T5, typename T6>
virtual String mockpp::ReturnAndTriggerStub6< R, T1, T2, T3, T4, T5, T6 >::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

Implements mockpp::TypelessStub< R >.

Definition at line 537 of file ReturnAndTriggerStub.h.

template<typename R, typename T1, typename T2, typename T3, typename T4, typename T5, typename T6>
virtual R mockpp::ReturnAndTriggerStub6< R, T1, T2, T3, T4, T5, T6 >::typelessInvoke (  )  [inline, virtual]

Mock the invocation without passing parameters.

Triggers the according constraints and returns the value.

Returns:
return value from mocked invocation

Implements mockpp::TypelessStub< R >.

Definition at line 522 of file ReturnAndTriggerStub.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:03 2010 for mockpp by  doxygen 1.6.1