#include <tmp.h>
Public Methods | |
| Tmp (bool use_tmp, bool no_erase) | |
| ~Tmp () | |
| std::string | get_tmp_file () |
| bool | register_tmp_file (std::string file) |
| register an other temporary file. More... | |
Private Types | |
| typedef std::list< std::string > | tmp_file_list |
| typedef tmp_file_list::iterator | tmp_file_list_it |
Private Methods | |
| bool | can_write (std::string file) |
| bool | read_dir () |
| get all files of the directory. More... | |
| bool | is_unique (std::string file) |
Private Attributes | |
| tmp_file_list | files |
| tmp_file_list | own_files |
| bool | valid |
| int | nfiles |
| file counter. More... | |
| long | pid |
| process ID or something else similar. More... | |
| bool | use_tmp |
| bool | no_erase |
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
get all files of the directory.
|
|
|
register an other temporary file.
|
|
|
|
|
|
file counter.
|
|
|
|
|
|
|
|
|
process ID or something else similar.
|
|
|
|
|
|
|
1.2.11.1 written by Dimitri van Heesch,
© 1997-2001