zypp::filesystem::TmpPath::Impl Class Reference

Clean or delete a directory on destruction. More...

Inheritance diagram for zypp::filesystem::TmpPath::Impl:

Inheritance graph
[legend]

List of all members.

Public Types

enum  Flags { NoOp = 0, Autodelete = 1L << 0, KeepTopdir = 1L << 1, CtorDefault = Autodelete }

Public Member Functions

 Impl (const Pathname &path_r, Flags flags_r=CtorDefault)
 ~Impl ()
const Pathnamepath () const
bool autoCleanup () const
void autoCleanup (bool yesno_r)

Private Attributes

Pathname _path
Flags _flags


Detailed Description

Clean or delete a directory on destruction.

Definition at line 36 of file TmpPath.cc.


Member Enumeration Documentation

Enumerator:
NoOp 
Autodelete 
KeepTopdir 
CtorDefault 

Definition at line 40 of file TmpPath.cc.


Constructor & Destructor Documentation

zypp::filesystem::TmpPath::Impl::Impl ( const Pathname path_r,
Flags  flags_r = CtorDefault 
) [inline]

Definition at line 51 of file TmpPath.cc.

zypp::filesystem::TmpPath::Impl::~Impl (  )  [inline]


Member Function Documentation

const Pathname& zypp::filesystem::TmpPath::Impl::path (  )  const [inline]

Definition at line 82 of file TmpPath.cc.

References _path.

bool zypp::filesystem::TmpPath::Impl::autoCleanup (  )  const [inline]

Definition at line 85 of file TmpPath.cc.

References _flags, and Autodelete.

void zypp::filesystem::TmpPath::Impl::autoCleanup ( bool  yesno_r  )  [inline]

Definition at line 88 of file TmpPath.cc.

References _flags, CtorDefault, and NoOp.


Member Data Documentation

Definition at line 92 of file TmpPath.cc.

Referenced by path(), and ~Impl().

Definition at line 93 of file TmpPath.cc.

Referenced by autoCleanup(), and ~Impl().


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

Generated on Tue May 5 14:49:34 2015 for libzypp by  doxygen 1.5.6