21#include <spot/misc/common.hh>
26#include <spot/misc/formater.hh>
51 typedef std::list<temporary_file*>::iterator cleanpos_t;
53 SPOT_LOCAL temporary_file(
char* name, cleanpos_t cp);
55 temporary_file(
const temporary_file& other) =
delete;
57 virtual ~temporary_file()
override;
59 const char* name()
const
64 friend std::ostream& operator<<(std::ostream& os,
const temporary_file* f)
71 print(std::ostream& os,
const char*)
const final override
88 class SPOT_API open_temporary_file final:
public temporary_file
91 SPOT_LOCAL open_temporary_file(
char* name, cleanpos_t cp,
int fd);
92 virtual ~open_temporary_file()
override;
Open temporary file.
Definition tmpfile.hh:89
Definition formater.hh:30
Temporary file name.
Definition tmpfile.hh:49
Definition automata.hh:26
void cleanup_tmpfiles()
Delete all temporary files.
temporary_file * create_tmpfile(const char *prefix, const char *suffix=nullptr)
Create a temporary file.
open_temporary_file * create_open_tmpfile(const char *prefix, const char *suffix=nullptr)
Create a temporary file and leave it open for writing.
Please direct any
question,
comment, or
bug report to the Spot mailing list at
spot@lrde.epita.fr.
Generated on for spot by
1.15.0