LibreOffice Module configmgr (master)  1
Public Member Functions | Public Attributes | Private Member Functions | List of all members
configmgr::TempFile Struct Reference

#include <writemodfile.hxx>

Public Member Functions

 TempFile ()
 
 ~TempFile ()
 
void closeAndRename (const OUString &url)
 
oslFileError flush ()
 
void writeString (std::string_view text)
 

Public Attributes

OUString url
 
oslFileHandle handle
 
bool closed
 
OStringBuffer buffer
 

Private Member Functions

 TempFile (const TempFile &)=delete
 
TempFileoperator= (const TempFile &)=delete
 

Detailed Description

Definition at line 35 of file writemodfile.hxx.

Constructor & Destructor Documentation

configmgr::TempFile::TempFile ( )
inline

Definition at line 41 of file writemodfile.hxx.

configmgr::TempFile::~TempFile ( )

Definition at line 77 of file writemodfile.cxx.

References closed, handle, SAL_WARN, and url.

configmgr::TempFile::TempFile ( const TempFile )
privatedelete

Member Function Documentation

void configmgr::TempFile::closeAndRename ( const OUString &  url)

Definition at line 105 of file writemodfile.cxx.

References closed, flush(), handle, and url.

Referenced by configmgr::writeModFile().

oslFileError configmgr::TempFile::flush ( )

Definition at line 124 of file writemodfile.cxx.

References buffer, and handle.

Referenced by closeAndRename(), and writeString().

TempFile& configmgr::TempFile::operator= ( const TempFile )
privatedelete
void configmgr::TempFile::writeString ( std::string_view  text)

Member Data Documentation

OStringBuffer configmgr::TempFile::buffer

Definition at line 39 of file writemodfile.hxx.

Referenced by flush(), and writeString().

bool configmgr::TempFile::closed

Definition at line 38 of file writemodfile.hxx.

Referenced by closeAndRename(), and ~TempFile().

oslFileHandle configmgr::TempFile::handle
OUString configmgr::TempFile::url

The documentation for this struct was generated from the following files: