Proxy class to conveniently move Stubs into Stub related methods. More...
Public Member Functions | |
StubHolder (const AutoPointer< TypelessStub< R > > &in_stub) | |
Creates the object. | |
StubHolder (TypelessStub< R > *in_stub) | |
Creates the object. | |
StubHolder (Stub< R, I > *in_stub) | |
Creates the object. | |
StubHolder (const AutoPointer< Stub< R, I > > &in_stub) | |
Creates the object. | |
Stub< R, I > * | release () const |
Returns the stub object. | |
operator AutoPointer< Stub< R, I > > () const | |
Returns the stub object. |
Proxy class to conveniently move Stubs into Stub related methods.
Definition at line 51 of file StubHolder.h.
mockpp::StubHolder< R, I >::StubHolder | ( | const AutoPointer< TypelessStub< R > > & | in_stub | ) | [inline] |
Creates the object.
in_stub | pointer to the stub |
Definition at line 58 of file StubHolder.h.
mockpp::StubHolder< R, I >::StubHolder | ( | TypelessStub< R > * | in_stub | ) | [inline] |
Creates the object.
in_stub | pointer to the stub |
Definition at line 65 of file StubHolder.h.
mockpp::StubHolder< R, I >::StubHolder | ( | Stub< R, I > * | in_stub | ) | [inline] |
Creates the object.
in_stub | pointer to the stub |
Definition at line 72 of file StubHolder.h.
mockpp::StubHolder< R, I >::StubHolder | ( | const AutoPointer< Stub< R, I > > & | in_stub | ) | [inline] |
Creates the object.
in_stub | pointer to the stub |
Definition at line 81 of file StubHolder.h.
mockpp::StubHolder< R, I >::operator AutoPointer< Stub< R, I > > | ( | ) | const [inline] |
Returns the stub object.
Definition at line 100 of file StubHolder.h.
Stub<R, I>* mockpp::StubHolder< R, I >::release | ( | ) | const [inline] |
Returns the stub object.
Definition at line 91 of file StubHolder.h.