libzypp 17.31.23
|
#include <AutoDispose.h>
Classes | |
struct | Impl |
Public Types | |
typedef function< void()> | Dispose |
Dispose function signatue. | |
Public Member Functions | |
AutoDispose () | |
Default Ctor using default constructed value and no dispose function. | |
AutoDispose (const Dispose &dispose_r) | |
Ctor taking dispose function and using default constructed value. | |
void | reset () |
Reset to default Ctor values. | |
void | swap (AutoDispose &rhs) |
Exchange the contents of two AutoDispose objects. | |
const Dispose & | getDispose () const |
Return the current dispose function. | |
void | setDispose (const Dispose &dispose_r) |
Set a new dispose function. | |
void | resetDispose () |
Set no dispose function. | |
void | swapDispose (Dispose &dispose_r) |
Exchange the dispose function. | |
Private Attributes | |
shared_ptr< Impl > | _pimpl |
Definition at line 212 of file AutoDispose.h.
typedef function<void ()> zypp::AutoDispose< void >::Dispose |
Dispose function signatue.
Definition at line 216 of file AutoDispose.h.
|
inline |
Default Ctor using default constructed value and no dispose function.
Definition at line 220 of file AutoDispose.h.
|
inlineexplicit |
Ctor taking dispose function and using default constructed value.
Definition at line 225 of file AutoDispose.h.
|
inline |
Reset to default Ctor values.
Definition at line 232 of file AutoDispose.h.
|
inline |
Exchange the contents of two AutoDispose objects.
Definition at line 236 of file AutoDispose.h.
|
inline |
Return the current dispose function.
Definition at line 241 of file AutoDispose.h.
|
inline |
Set a new dispose function.
Definition at line 245 of file AutoDispose.h.
|
inline |
Set no dispose function.
Definition at line 249 of file AutoDispose.h.
|
inline |
Exchange the dispose function.
Definition at line 253 of file AutoDispose.h.
|
private |
Definition at line 273 of file AutoDispose.h.