OpenMode#
Fully qualified name: carb::filesystem::OpenMode
Defined in carb/filesystem/FileSystemTypes.h
-
enum class carb::filesystem::OpenMode#
Types of file open modes.
Values:
-
enumerator eRead#
Opens a file for reading only.
-
enumerator eWrite#
Opens (creates) a file for writing. Existing file data is destroyed.
-
enumerator eAppend#
Opens (creates) a file for writing (without destroying existing file data), and positions the file pointer at the end of the file. All writing occurs at the end of the file.
-
enumerator eReadWrite#
Opens (creates) a file for reading and writing (without destroying existing file data).
-
enumerator eRead#