mockpp::MatchBuilder< R, I > Class Template Reference
[Chaining behaviour of a Chainable Mock Object]

Builder class for matcher related purposes. More...

Inheritance diagram for mockpp::MatchBuilder< R, I >:
Inheritance graph
[legend]

List of all members.

Public Types

typedef AutoPointer
< MatchBuilder< R, I > > 
AP
 internal shorthand

Public Member Functions

virtual MatchBuildermatch (const MatcherHolder< I > &customMatcher)=0
 Adds another matcher.
MatchBuilder< R, I > & after (const String &priorCallID)
 Adds a matcher indicating subsequent calls on the same mock object.
MatchBuilder< R, I > & before (const String &subsequentCallID)
 Adds a matcher indicating prior calls on the same mock object.
MatchBuilder< R, I > & after (BuilderNamespace &otherMock, const String &priorCallID)
 Adds a matcher indicating subsequent calls compared to another mock object.
MatchBuilder< R, I > & before (BuilderNamespace &otherMock, const String &subsequentCallID)
 Adds a matcher indicating prior calls compared to another mock object.

Protected Member Functions

virtual BuilderNamespacegetBuilderNamespace ()=0
 Gets the builder namespace.
virtual StubMatchersCollection
< R, I > * 
getMocker ()=0
 Gets the matcher object.

Detailed Description

template<typename R, typename I>
class mockpp::MatchBuilder< R, I >

Builder class for matcher related purposes.

Definition at line 86 of file MatchBuilder.h.


Member Function Documentation

template<typename R, typename I>
virtual BuilderNamespace* mockpp::MatchBuilder< R, I >::getBuilderNamespace (  )  [protected, pure virtual]

Gets the builder namespace.

Returns:
pointer to builder namspace
template<typename R, typename I>
virtual StubMatchersCollection<R, I>* mockpp::MatchBuilder< R, I >::getMocker (  )  [protected, pure virtual]

Gets the matcher object.

Returns:
pointer to the matcher object

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:05 2010 for mockpp by  doxygen 1.6.1