14#ifndef OR_TOOLS_BASE_TEMP_PATH_H_
15#define OR_TOOLS_BASE_TEMP_PATH_H_
19#include "absl/status/status.h"
20#include "absl/strings/string_view.h"
28 explicit TempPath(absl::string_view prefix);
40 std::string
path()
const {
return path_; }
static TempPath * Create(Location location)
static constexpr int kDefaultMode
default mode to create directories (a+rwx):
TempPath(const TempPath &rhs)=delete
TempPath(absl::string_view prefix)
std::string path() const
Returns the path which was created by this object.
TempPath & operator=(const TempPath &rhs)=delete
TempPath & operator=(TempPath &&rhs)