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

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

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

zypp::base::ReferenceCounted NonCopyable 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

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

enum zypp::filesystem::TmpPath::Impl::Flags
 

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]
 

Definition at line 55 of file TmpPath.cc.

References _flags, _path, Autodelete, zypp::filesystem::clean_dir(), zypp::filesystem::Pathname::empty(), zypp::filesystem::PathInfo::isDir(), zypp::filesystem::PathInfo::isExist(), KeepTopdir, zypp::filesystem::PathInfo::LSTAT, and zypp::filesystem::recursive_rmdir().


Member Function Documentation

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

Definition at line 82 of file TmpPath.cc.


Member Data Documentation

Pathname zypp::filesystem::TmpPath::Impl::_path [private]
 

Definition at line 86 of file TmpPath.cc.

Referenced by ~Impl().

Flags zypp::filesystem::TmpPath::Impl::_flags [private]
 

Definition at line 87 of file TmpPath.cc.

Referenced by ~Impl().


The documentation for this class was generated from the following file:
Generated on Thu Jul 6 00:07:32 2006 for zypp by  doxygen 1.4.6