libzypp  17.14.0
RAII solutions

Classes

class  zypp::DtorReset
 Assign a vaiable a certain value when going out of scope. More...
 
class  zypp::SignalSaver
 Exception safe signal handler save/restore. More...
 
class  zypp::SigprocmaskSaver
 Exception safe sigprocmask save/restore. More...
 
struct  zypp::str::SafeBuf
 Assert free called for allocated char *. More...
 
struct  zypp::target::rpm::HeaderEntryGetter
 Helper for header data retieval. More...
 
class  zypp::AutoFD
 AutoDispose<int> calling ::close More...
 
class  zypp::AutoFILE
 AutoDispose<FILE*> calling ::fclose More...
 
class  AutoFREE< Tp >
 AutoDispose<Tp*> calling ::free More...
 
class  zypp::env::ScopedSet
 Temporarily set/unset an environment variable. More...
 
class  zypp::LocaleGuard
 Temorarily change a locale category value. More...
 
class  MediaSetAccess::ReleaseFileGuard
 Release a provided file upon destruction. More...
 
class  zypp::PluginExecutor
 Parallel execution of stateful PluginScripts. More...
 
class  zypp::ResPoolProxy::ScopedSaveState
 Exception safe scoped save/restore state. More...
 

Detailed Description

See also
http://en.wikipedia.org/wiki/Resource_Acquisition_Is_Initialization