OEFileTempDirectory

std::string OEFileTempDirectory(const std::string &base_dir="")

Create and return the name of a new temporary directory. This directory is guaranteed to be unique and free of race conditions. If no argument is given or base_dir is an empty string, create the directory inside the OEFileTempPath directory. Otherwise, create the directory inside base_dir given. If this function fails, an empty string it returned.