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

Hold invocations with 5 parameters. More...

Inheritance diagram for mockpp::Invocation5< P1, P2, P3, P4, P5 >:
Inheritance graph
[legend]

List of all members.

Public Types

enum  { numParams = 5 }
typedef ConstraintSet5< P1, P2,
P3, P4, P5 > 
ConstraintSetType
 internal shorthand
typedef P1 T1Type
 internal shorthand
typedef P2 T2Type
 internal shorthand
typedef P3 T3Type
 internal shorthand
typedef P4 T4Type
 internal shorthand
typedef P5 T5Type
 internal shorthand

Public Member Functions

 Invocation5 (const String &objname, const P1 &in_param1, const P2 &in_param2, const P3 &in_param3, const P4 &in_param4, const P5 &in_param5)
 Constructs the object.
virtual bool equals (const Invocation5< P1, P2, P3, P4, P5 > &other) const
 Check if the object equals another invocation.
bool equals (const InvocationBase &other) const
 Check if the object equals another invocation.
const P1 & getParameter1 () const
 Returns an invocation parameter.
const P2 & getParameter2 () const
 Returns an invocation parameter.
const P3 & getParameter3 () const
 Returns an invocation parameter.
const P4 & getParameter4 () const
 Returns an invocation parameter.
const P5 & getParameter5 () const
 Returns an invocation parameter.
virtual String describeParameters () const
 Returns a description of the parameters.

Detailed Description

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

Hold invocations with 5 parameters.

Definition at line 423 of file InvocationN.h.


Constructor & Destructor Documentation

template<typename P1, typename P2, typename P3, typename P4, typename P5>
mockpp::Invocation5< P1, P2, P3, P4, P5 >::Invocation5 ( const String objname,
const P1 &  in_param1,
const P2 &  in_param2,
const P3 &  in_param3,
const P4 &  in_param4,
const P5 &  in_param5 
) [inline]

Constructs the object.

Parameters:
objname name of the object
in_param1 parameter 1
in_param2 parameter 2
in_param3 parameter 3
in_param4 parameter 4
in_param5 parameter 5

Definition at line 445 of file InvocationN.h.


Member Function Documentation

template<typename P1, typename P2, typename P3, typename P4, typename P5>
virtual String mockpp::Invocation5< P1, P2, P3, P4, P5 >::describeParameters (  )  const [inline, virtual]

Returns a description of the parameters.

Returns:
the description

Implements mockpp::Invocation.

Definition at line 530 of file InvocationN.h.

template<typename P1, typename P2, typename P3, typename P4, typename P5>
bool mockpp::Invocation5< P1, P2, P3, P4, P5 >::equals ( const InvocationBase other  )  const [inline]

Check if the object equals another invocation.

Parameters:
other the other invocation
Returns:
true: objects are equal

Definition at line 479 of file InvocationN.h.

template<typename P1, typename P2, typename P3, typename P4, typename P5>
virtual bool mockpp::Invocation5< P1, P2, P3, P4, P5 >::equals ( const Invocation5< P1, P2, P3, P4, P5 > &  other  )  const [inline, virtual]

Check if the object equals another invocation.

Parameters:
other the other invocation
Returns:
true: objects are equal

Definition at line 466 of file InvocationN.h.

template<typename P1, typename P2, typename P3, typename P4, typename P5>
const P1& mockpp::Invocation5< P1, P2, P3, P4, P5 >::getParameter1 (  )  const [inline]

Returns an invocation parameter.

Returns:
the invocation parameter 1

Definition at line 490 of file InvocationN.h.

template<typename P1, typename P2, typename P3, typename P4, typename P5>
const P2& mockpp::Invocation5< P1, P2, P3, P4, P5 >::getParameter2 (  )  const [inline]

Returns an invocation parameter.

Returns:
the invocation parameter 2

Definition at line 498 of file InvocationN.h.

template<typename P1, typename P2, typename P3, typename P4, typename P5>
const P3& mockpp::Invocation5< P1, P2, P3, P4, P5 >::getParameter3 (  )  const [inline]

Returns an invocation parameter.

Returns:
the invocation parameter 3

Definition at line 506 of file InvocationN.h.

template<typename P1, typename P2, typename P3, typename P4, typename P5>
const P4& mockpp::Invocation5< P1, P2, P3, P4, P5 >::getParameter4 (  )  const [inline]

Returns an invocation parameter.

Returns:
the invocation parameter 4

Definition at line 514 of file InvocationN.h.

template<typename P1, typename P2, typename P3, typename P4, typename P5>
const P5& mockpp::Invocation5< P1, P2, P3, P4, P5 >::getParameter5 (  )  const [inline]

Returns an invocation parameter.

Returns:
the invocation parameter 5

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