4#ifndef _Stroika_Foundation_IO_FileSystem_TemporaryFile_h_
5#define _Stroika_Foundation_IO_FileSystem_TemporaryFile_h_ 1
7#include "Stroika/Foundation/StroikaPreComp.h"
9#include "Stroika/Foundation/IO/FileSystem/Common.h"
30 filesystem::path
CreateTmpFile (
const String& baseName,
const filesystem::path& inFolder);
47 operator filesystem::path ()
const;
50 filesystem::path fTmpDir_;
68 operator filesystem::path ()
const;
71 filesystem::path fTmpFile_;
87 optional<filesystem::path> fRelativePathInsideTmpDir;
117 nonvirtual filesystem::path GetRootTmpDir ()
const;
127 nonvirtual filesystem::path GetTmpDir (
const String& dirNameBase);
130 filesystem::path fTmpDir_;
141#include "TemporaryFile.inl"
String is like std::u32string, except it is much easier to use, often much more space efficient,...
AppTmpFileManager & operator=(AppTmpFileManager &&rhs) noexcept
nonvirtual filesystem::path GetTmpFile(const String &fileBaseName)
AppTmpFileManager(const AppTmpFileManager &)=delete
static AppTmpFileManager sThe
filesystem::path CreateTmpFile(const String &baseName)