Fcitx
Public Member Functions | List of all members
fcitx::StandardPathTempFile Class Reference

File descriptor wrapper that handles file descriptor and rename automatically. More...

#include <fcitx-utils/standardpath.h>

Public Member Functions

 StandardPathTempFile (int fd=-1, const std::string &realFile={}, const std::string &tempPath={})
 
 StandardPathTempFile (StandardPathTempFile &&other)=default
 
int fd () const
 
bool isValid () const
 
const std::string & path () const
 
const std::string & tempPath () const
 
int release ()
 
void close ()
 
void removeTemp ()
 

Detailed Description

File descriptor wrapper that handles file descriptor and rename automatically.

Definition at line 127 of file standardpath.h.


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