Portability Libraries  2015.2.0.0
Common Methods and Objects for Platform Independance.
SoftwareAndServices::Library::Common::TmpFile Class Reference

#include "<SaS/Common/TmpFile.hpp>"

+ Inheritance diagram for SoftwareAndServices::Library::Common::TmpFile:
+ Collaboration diagram for SoftwareAndServices::Library::Common::TmpFile:

Public Member Functions

 TmpFile ()
 
virtual ~TmpFile ()
 
bool close ()
 
bool create (bool deleteOnCreate=true)
 
FilegetFile () const
 
- Public Member Functions inherited from SoftwareAndServices::Library::Common::instance< TmpFile >
 instance ()
 
virtual InstanceCount_t decInstance () const
 
virtual InstanceCount_t getInstance () const
 
virtual InstanceCount_t incInstance () const
 
void operator delete (void *ToFree)
 

Detailed Description

An object for managing temporary files. This class creates a temporary file. The file is created and then if on an OS that supports write after delete and only performs the final unlink after the final close, it deletes the file from the directory to aid in security.

Definition at line 98 of file TmpFile.hpp.


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