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

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. | |
A helper class for convenient handling of match builders.
Definition at line 214 of file MatchBuilder.h.
| mockpp::MatchBuilderAdapter< R, I >::MatchBuilderAdapter | ( | MatchBuilder< R, I > * | in_builder, | |
| bool | in_shouldDelete = false | |||
| ) | [inline] |
Constructs a match builder adapter.
| in_builder | pointer to actual match builder | |
| in_shouldDelete | true: delete in_builder in destructor |
Definition at line 222 of file MatchBuilder.h.
| virtual void* mockpp::MatchBuilderAdapter< R, I >::getBuilder | ( | ) | const [inline, virtual] |
Returns the internal builder.
Implements mockpp::MatchBuilderAdapterBase.
Definition at line 247 of file MatchBuilder.h.
| virtual void mockpp::MatchBuilderAdapter< R, I >::match | ( | typename TypelessMatcher::AP | customMatcher | ) | [inline, virtual] |
Adds another match to the builder.
| customMatcher | pointer to matcher object |
Implements mockpp::MatchBuilderAdapterBase.
Definition at line 239 of file MatchBuilder.h.
1.6.1