mockpp::MatchBuilderAdapter< R, I > Class Template Reference

A helper class for convenient handling of match builders. More...

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

List of all members.

Public Member Functions

 MatchBuilderAdapter (MatchBuilder< R, I > *in_builder, bool in_shouldDelete=false)
 Constructs a match builder adapter.
virtual ~MatchBuilderAdapter ()
 Destructs the adapter.
virtual void match (typename TypelessMatcher::AP customMatcher)
 Adds another match to the builder.
virtual void * getBuilder () const
 Returns the internal builder.

Detailed Description

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

A helper class for convenient handling of match builders.

Definition at line 214 of file MatchBuilder.h.


Constructor & Destructor Documentation

template<typename R , typename I >
mockpp::MatchBuilderAdapter< R, I >::MatchBuilderAdapter ( MatchBuilder< R, I > *  in_builder,
bool  in_shouldDelete = false 
) [inline]

Constructs a match builder adapter.

Parameters:
in_builder pointer to actual match builder
in_shouldDelete true: delete in_builder in destructor

Definition at line 222 of file MatchBuilder.h.


Member Function Documentation

template<typename R , typename I >
virtual void* mockpp::MatchBuilderAdapter< R, I >::getBuilder (  )  const [inline, virtual]

Returns the internal builder.

Returns:
pointer to builder

Implements mockpp::MatchBuilderAdapterBase.

Definition at line 247 of file MatchBuilder.h.

template<typename R , typename I >
virtual void mockpp::MatchBuilderAdapter< R, I >::match ( typename TypelessMatcher::AP  customMatcher  )  [inline, virtual]

Adds another match to the builder.

Parameters:
customMatcher pointer to matcher object

Implements mockpp::MatchBuilderAdapterBase.

Definition at line 239 of file MatchBuilder.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:05 2010 for mockpp by  doxygen 1.6.1