#include <TTauri/Foundation/File.hpp>
|
| static size_t | fileSize (URL const &url) |
| |
|
static void | createDirectory (URL const &url, bool hierarchy=false) |
| |
|
static void | createDirectoryHierarchy (URL const &url) |
| |
◆ File()
| tt::File::File |
( |
URL const & | location, |
|
|
AccessMode | accessMode ) |
Open a file at location.
- Parameters
-
| location | The file: URL locating the file. |
| accessMode | access-mode to open the file. |
◆ close()
◆ fileSize()
| static size_t tt::File::fileSize |
( |
URL const & | url | ) |
|
|
static |
Get the size of a file on the file system.
- Returns
- The size of the file in bytes.
◆ write() [1/3]
◆ write() [2/3]
◆ write() [3/3]
◆ accessMode
| AccessMode tt::File::accessMode |
The access mode used to open the file.
◆ fileHandle
| FileHandle tt::File::fileHandle |
A operating system handle to the file.
◆ location
The URL that was used to open the file.
The documentation for this struct was generated from the following file: