MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ FileWriteOptions

enum class MayaFlux::IO::FileWriteOptions : uint32_t
strong
Enumerator
NONE 
APPEND 

Append to existing file.

CREATE 

Create if doesn't exist.

TRUNCATE 

Truncate existing file.

SYNC 

Sync after each write (slow but safe)

BUFFER 

Use internal buffering.

ALL 

Definition at line 5 of file FileWriter.hpp.

5 : uint32_t {
6 NONE = 0,
7 APPEND = 1 << 0, ///< Append to existing file
8 CREATE = 1 << 1, ///< Create if doesn't exist
9 TRUNCATE = 1 << 2, ///< Truncate existing file
10 SYNC = 1 << 3, ///< Sync after each write (slow but safe)
11 BUFFER = 1 << 4, ///< Use internal buffering
12 ALL = 0xFFFFFFFF
13};
@ TRUNCATE
Truncate existing file.
@ BUFFER
Use internal buffering.
@ SYNC
Sync after each write (slow but safe)
@ CREATE
Create if doesn't exist.
@ APPEND
Append to existing file.