#include <TmpPath.h>

Public Member Functions | |
| TmpPath () | |
| TmpPath (const Pathname &tmpPath_r) | |
| virtual | ~TmpPath () |
| operator const void *const () const | |
| Pathname | path () const |
| operator Pathname () const | |
Static Public Member Functions | |
| static const Pathname & | defaultLocation () |
Protected Attributes | |
| VarPtr< Impl > | _impl |
TmpPath is constructed from a Pathname. Multiple TmpPath instances created by copy and assign, share the same reference counted internal repesentation.
When the last reference drops any file or directory located at the path passed to the ctor is deleted (recursivly in case of directories).
Principally serves as base class, but standalone usable.
| TmpPath::TmpPath | ( | ) |
Default Ctor. An empty Pathname.
| virtual TmpPath::~TmpPath | ( | ) | [virtual] |
Dtor.
| TmpPath::operator const void *const | ( | ) | const |
Test whether the Pathname is valid (i.e. not empty. NOT whether it realy denotes an existing file or directory).
| static const Pathname& TmpPath::defaultLocation | ( | ) | [static] |
VarPtr<Impl> TmpPath::_impl [protected] |
1.5.3