mockpp::TypelessMatcher Class Reference

Base for matchers regardless of method parameter values. More...

Inheritance diagram for mockpp::TypelessMatcher:
Inheritance graph
[legend]

List of all members.

Public Types

typedef AutoPointer
< TypelessMatcher
AP
 internal shorthand

Public Member Functions

 TypelessMatcher ()
 Creates the object.
virtual ~TypelessMatcher ()
 Destroys the object.
virtual bool hasDescription ()=0
 Does the object provide meaningful description via describeTo() ?.
virtual bool matches ()=0
 Checks if an invocation matches the expectaton.
virtual void incInvoked ()=0
 Increments the invocation count.
virtual void reset ()
 Sets all internal data to the state after construction.

Detailed Description

Base for matchers regardless of method parameter values.

Definition at line 51 of file TypelessMatcher.h.


Member Function Documentation

virtual bool mockpp::TypelessMatcher::hasDescription (  )  [pure virtual]
virtual bool mockpp::TypelessMatcher::matches (  )  [pure virtual]
void mockpp::TypelessMatcher::reset (  )  [virtual]

Sets all internal data to the state after construction.

Only a dummy as matchers don't have data to reset.

Implements mockpp::Verifiable.

Definition at line 50 of file TypelessMatcher.cpp.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Friends Defines

Generated on Tue Jan 5 09:49:09 2010 for mockpp by  doxygen 1.6.1