25 #ifndef DAP_TEMPFILE_H_
26 #define DAP_TEMPFILE_H_
36 const std::string default_tmp_file_template =
"/tmp/opendapXXXXXX";
52 static std::map<std::string, int> *open_files;
53 static struct sigaction cached_sigpipe_handler;
55 friend class TemporaryFileTest;
62 TempFile(
const std::string &path_template = default_tmp_file_template,
bool keep_temps =
false);
70 std::string
get_name()
const {
return d_fname; }