5 #include <ail/types.hpp>
6 #include <boost/thread/mutex.hpp>
8 struct temporary_file_entry
13 temporary_file_entry(std::string
const & name
);
14 bool operator<(temporary_file_entry
const & other
) const;
15 bool operator==(temporary_file_entry
const & other
) const;
18 class temporary_file_manager
21 temporary_file_manager(std::string
const & directory
);
23 std::string
generate_name();
24 void release(std::string
const & path
);
27 std::string directory
;
28 std::set
<temporary_file_entry
> files
;