12 #ifndef __UT_TempFileManager__
13 #define __UT_TempFileManager__
34 const char *prefix =
nullptr);
40 const char *prefix =
nullptr);
GT_API const UT_StringHolder filename
static UT_API bool addTempFile(const UT_StringHolder &filename)
static UT_API UT_StringHolder getTempFilename(const char *prefix=nullptr)
static UT_API FILE * createTempFile(UT_StringHolder &filename, const char *prefix=nullptr)
static UT_API void removeTempFile(const char *filename)
static UT_API const UT_StringArray & getAllTempFilenames()
static UT_API UT_OFStream * createTempFileStream(UT_StringHolder &filename, const char *prefix=nullptr)
Portable replacement for std::ofstream.