mockpp::ArgumentsMatcher< I > Class Template Reference

Match the arguments passed to a mock method. More...

Inheritance diagram for mockpp::ArgumentsMatcher< I >:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 ArgumentsMatcher (const MOCKPP_CS &in_constraintset)
 Checks if an invocation matches the expectaton.
virtual bool matches (const I &invocation)
 Checks if an invocation matches the expectaton.
virtual String describeTo (String &buffer) const
 Appends the description of this object to the buffer.

Detailed Description

template<typename I>
class mockpp::ArgumentsMatcher< I >

Match the arguments passed to a mock method.

Definition at line 52 of file ArgumentsMatcher.h.


Constructor & Destructor Documentation

template<typename I >
mockpp::ArgumentsMatcher< I >::ArgumentsMatcher ( const MOCKPP_CS &  in_constraintset  )  [inline]

Checks if an invocation matches the expectaton.

Parameters:
in_constraintset the constraint set for the comparison

Definition at line 61 of file ArgumentsMatcher.h.


Member Function Documentation

template<typename I >
virtual String mockpp::ArgumentsMatcher< I >::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::SelfDescribing.

Definition at line 79 of file ArgumentsMatcher.h.

template<typename I >
virtual bool mockpp::ArgumentsMatcher< I >::matches ( const I &  invocation  )  [inline, virtual]

Checks if an invocation matches the expectaton.

Parameters:
invocation the invocation data
Returns:
true: the invocation matches

Implements mockpp::InvocationMatcher< I >.

Definition at line 70 of file ArgumentsMatcher.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:07 2010 for mockpp by  doxygen 1.6.1