Hold invocations with 2 parameters. More...
Public Types | |
enum | { numParams = 2 } |
typedef ConstraintSet2< P1, P2 > | ConstraintSetType |
internal shorthand | |
typedef P1 | T1Type |
internal shorthand | |
typedef P2 | T2Type |
internal shorthand | |
Public Member Functions | |
Invocation2 (const String &objname, const P1 &in_param1, const P2 &in_param2) | |
Constructs the object. | |
virtual bool | equals (const Invocation2< P1, P2 > &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. | |
virtual String | describeParameters () const |
Returns a description of the parameters. |
Hold invocations with 2 parameters.
Definition at line 117 of file InvocationN.h.
mockpp::Invocation2< P1, P2 >::Invocation2 | ( | const String & | objname, | |
const P1 & | in_param1, | |||
const P2 & | in_param2 | |||
) | [inline] |
Constructs the object.
objname | name of the object | |
in_param1 | parameter 1 | |
in_param2 | parameter 2 |
Definition at line 133 of file InvocationN.h.
virtual String mockpp::Invocation2< P1, P2 >::describeParameters | ( | ) | const [inline, virtual] |
Returns a description of the parameters.
Implements mockpp::Invocation.
Definition at line 185 of file InvocationN.h.
bool mockpp::Invocation2< P1, P2 >::equals | ( | const InvocationBase & | other | ) | const [inline] |
Check if the object equals another invocation.
other | the other invocation |
Definition at line 158 of file InvocationN.h.
virtual bool mockpp::Invocation2< P1, P2 >::equals | ( | const Invocation2< P1, P2 > & | other | ) | const [inline, virtual] |
Check if the object equals another invocation.
other | the other invocation |
Definition at line 148 of file InvocationN.h.
const P1& mockpp::Invocation2< P1, P2 >::getParameter1 | ( | ) | const [inline] |
Returns an invocation parameter.
Definition at line 169 of file InvocationN.h.
const P2& mockpp::Invocation2< P1, P2 >::getParameter2 | ( | ) | const [inline] |
Returns an invocation parameter.
Definition at line 177 of file InvocationN.h.