mockpp::Invocation1< P1 > Class Template Reference

Hold invocations with 1 parameters. More...

Inheritance diagram for mockpp::Invocation1< P1 >:
Inheritance graph
[legend]

List of all members.

Public Types

enum  { numParams = 1 }
typedef ConstraintSet1< P1 > ConstraintSetType
 internal shorthand
typedef P1 T1Type
 internal shorthand

Public Member Functions

 Invocation1 (const String &objname, const P1 &in_param1)
 Constructs the object.
virtual bool equals (const Invocation1< P1 > &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.
virtual String describeParameters () const
 Returns a description of the parameters.

Detailed Description

template<typename P1>
class mockpp::Invocation1< P1 >

Hold invocations with 1 parameters.

Definition at line 45 of file InvocationN.h.


Constructor & Destructor Documentation

template<typename P1>
mockpp::Invocation1< P1 >::Invocation1 ( const String objname,
const P1 &  in_param1 
) [inline]

Constructs the object.

Parameters:
objname name of the object
in_param1 parameter 1

Definition at line 59 of file InvocationN.h.


Member Function Documentation

template<typename P1>
virtual String mockpp::Invocation1< P1 >::describeParameters (  )  const [inline, virtual]

Returns a description of the parameters.

Returns:
the description

Implements mockpp::Invocation.

Definition at line 100 of file InvocationN.h.

template<typename P1>
bool mockpp::Invocation1< P1 >::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 81 of file InvocationN.h.

template<typename P1>
virtual bool mockpp::Invocation1< P1 >::equals ( const Invocation1< P1 > &  other  )  const [inline, virtual]

Check if the object equals another invocation.

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

Definition at line 72 of file InvocationN.h.

template<typename P1>
const P1& mockpp::Invocation1< P1 >::getParameter1 (  )  const [inline]

Returns an invocation parameter.

Returns:
the invocation parameter 1

Definition at line 92 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:13 2010 for mockpp by  doxygen 1.6.1