Lines Matching full:file
14 * A temporary file in the file system.
16 * The temporary file is created by the constructor. The absolute path to the
17 * file can be obtained using getPath().
19 * The temporary file can be deleted by calling remove(). Otherwise the file
35 * Creates a temporary file in the temporary directory (normally /tmp).
37 * Throws an exception if the file cannot be created.
44 * Transfers ownership of a temporary file.
46 * @param file TemporaryFile object being moved
48 TemporaryFile(TemporaryFile&& file) : path{std::move(file.path)} in TemporaryFile() argument
51 file.path.clear();
57 * Deletes the temporary file owned by this object. Then transfers
58 * ownership of the temporary file owned by the other object.
62 * @param file TemporaryFile object being moved
64 TemporaryFile& operator=(TemporaryFile&& file);
69 * Deletes the temporary file if necessary.
84 * Deletes the temporary file.
86 * Does nothing if the file has already been deleted.
93 * Returns the absolute path to the temporary file.
95 * Returns an empty path if the file has been deleted.
97 * @return temporary file path
106 * Absolute path to the temporary file.
108 * Empty when file has been deleted.