LibreOffice Module unotools (master) 1
Classes | Namespaces | Typedefs | Functions
tempfile.hxx File Reference
#include <unotools/unotoolsdllapi.h>
#include <com/sun/star/io/XInputStream.hpp>
#include <com/sun/star/io/XOutputStream.hpp>
#include <com/sun/star/io/XStream.hpp>
#include <com/sun/star/io/XSeekable.hpp>
#include <com/sun/star/io/XTruncate.hpp>
#include <cppuhelper/implbase.hxx>
#include <tools/stream.hxx>
#include <memory>
#include <mutex>
#include <optional>
Include dependency graph for tempfile.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  utl::TempFileFast
 This is the "fast" temp file. More...
 
class  utl::TempFileNamed
 The class TempFile gives access to temporary files in the local file system. More...
 
class  utl::TempFileFastService
 

Namespaces

namespace  utl
 

Typedefs

typedef ::cppu::WeakImplHelper< css::io::XStream, css::io::XSeekable, css::io::XInputStream, css::io::XOutputStream, css::io::XTruncate > utl::TempFileFastService_Base
 

Functions

OUString utl::CreateTempName ()
 Only create a "physical" file name for a temporary file that would be valid at that moment. More...
 
OUString utl::CreateTempURL (const OUString *pParent, bool bDirectory)
 
OUString utl::CreateTempURL (std::u16string_view rLeadingChars, bool _bStartWithZero=true, std::u16string_view pExtension={}, const OUString *pParent=nullptr, bool bCreateParentDirs=false)
 Same as above; additionally the name starts with some given characters followed by a counter ( example: rLeadingChars="abc" means "abc0","abc1" and so on, depending on existing files in the folder ). More...
 
OUString utl::SetTempNameBaseDirectory (const OUString &rBaseName)
 The TempNameBaseDirectory is a subfolder in the folder that is passed as a "physical" file name in the SetTempNameBaseDirectory method. More...
 
OUString utl::GetTempNameBaseDirectory ()