Fcitx
|
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 () |
File descriptor wrapper that handles file descriptor and rename automatically.
Definition at line 127 of file standardpath.h.