mockpp::MatcherHolder< I > Class Template Reference

Proxy class to conveniently move Matchers into matcher related methods. More...

List of all members.

Public Member Functions

 MatcherHolder (InvocationMatcher< I > *in_matcher)
 Constructs the object.
 MatcherHolder (const typename TypelessMatcher::AP &in_matcher)
 Constructs the object.
 MatcherHolder (TypelessMatcher *in_matcher)
 Constructs the object.
 MatcherHolder (const typename InvocationMatcher< I >::AP &in_matcher)
 Constructs the object.
 operator typename InvocationMatcher< I >::AP () const
 Returns the matcher object.

Detailed Description

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

Proxy class to conveniently move Matchers into matcher related methods.

Definition at line 50 of file MatcherHolder.h.


Constructor & Destructor Documentation

template<typename I>
mockpp::MatcherHolder< I >::MatcherHolder ( InvocationMatcher< I > *  in_matcher  )  [inline]

Constructs the object.

Parameters:
in_matcher pointer to the matcher

Definition at line 57 of file MatcherHolder.h.

template<typename I>
mockpp::MatcherHolder< I >::MatcherHolder ( const typename TypelessMatcher::AP in_matcher  )  [inline]

Constructs the object.

Parameters:
in_matcher pointer to the typeless matcher

Definition at line 65 of file MatcherHolder.h.

template<typename I>
mockpp::MatcherHolder< I >::MatcherHolder ( TypelessMatcher in_matcher  )  [inline]

Constructs the object.

Parameters:
in_matcher pointer to the typeless matcher

Definition at line 73 of file MatcherHolder.h.

template<typename I>
mockpp::MatcherHolder< I >::MatcherHolder ( const typename InvocationMatcher< I >::AP &  in_matcher  )  [inline]

Constructs the object.

Parameters:
in_matcher pointer to the matcher

Definition at line 81 of file MatcherHolder.h.


Member Function Documentation

template<typename I>
mockpp::MatcherHolder< I >::operator typename InvocationMatcher< I >::AP (  )  const [inline]

Returns the matcher object.

Attention:
After this method is called this object becomes invalid.
Returns:
the matcher object

Definition at line 93 of file MatcherHolder.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:08 2010 for mockpp by  doxygen 1.6.1