A helper template to wrap a throwable object in a uniform fashion. More...

Public Member Functions | |
| virtual void | throw_me () |
| Throws the object. | |
| virtual bool | hasThrown () const |
| Queries if the object has been thrown. | |
| void | reset () |
| Resets the counter to 0. | |
| ThrowableWrapper (const T &o) | |
| Contructs the ThrowableWrapper. | |
A helper template to wrap a throwable object in a uniform fashion.
Definition at line 69 of file Throwable.h.
| mockpp::ThrowableWrapper< T >::ThrowableWrapper | ( | const T & | o | ) | [inline] |
Contructs the ThrowableWrapper.
| o | object to throw |
Definition at line 106 of file Throwable.h.
| virtual bool mockpp::ThrowableWrapper< T >::hasThrown | ( | ) | const [inline, virtual] |
Queries if the object has been thrown.
Implements mockpp::Throwable.
Definition at line 87 of file Throwable.h.
1.6.1