libzypp  15.28.6
zypp::ResPoolProxy::ScopedSaveState Class Reference

Exception safe scoped save/restore state. More...

#include <ResPoolProxy.h>

Classes

struct  Impl
 

Public Member Functions

 NON_COPYABLE_BUT_MOVE (ScopedSaveState)
 
 ScopedSaveState (const ResPoolProxy &pool_r)
 
 ScopedSaveState (const ResPoolProxy &pool_r, const ResKind &kind_r)
 
 ~ScopedSaveState ()
 
void acceptState ()
 

Private Attributes

std::unique_ptr< Impl_pimpl
 

Detailed Description

Exception safe scoped save/restore state.

Call acceptState to prevent the class from restoring the remembered state.

Definition at line 263 of file ResPoolProxy.h.

Constructor & Destructor Documentation

zypp::ResPoolProxy::ScopedSaveState::ScopedSaveState ( const ResPoolProxy pool_r)
inline

Definition at line 267 of file ResPoolProxy.h.

zypp::ResPoolProxy::ScopedSaveState::ScopedSaveState ( const ResPoolProxy pool_r,
const ResKind kind_r 
)
inline

Definition at line 271 of file ResPoolProxy.h.

zypp::ResPoolProxy::ScopedSaveState::~ScopedSaveState ( )
inline

Definition at line 275 of file ResPoolProxy.h.

Member Function Documentation

zypp::ResPoolProxy::ScopedSaveState::NON_COPYABLE_BUT_MOVE ( ScopedSaveState  )
void zypp::ResPoolProxy::ScopedSaveState::acceptState ( )
inline

Definition at line 278 of file ResPoolProxy.h.

Member Data Documentation

std::unique_ptr<Impl> zypp::ResPoolProxy::ScopedSaveState::_pimpl
private

Definition at line 298 of file ResPoolProxy.h.


The documentation for this class was generated from the following file: