libzypp  10.5.0
zypp::filesystem::TmpPath::Impl Class Reference

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

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

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]

Definition at line 55 of file TmpPath.cc.


Member Function Documentation

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

Definition at line 82 of file TmpPath.cc.

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

Definition at line 85 of file TmpPath.cc.

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

Definition at line 88 of file TmpPath.cc.


Member Data Documentation

Definition at line 92 of file TmpPath.cc.

Definition at line 93 of file TmpPath.cc.


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