/
redgpu
/
ezEngine
Обзор
Документация
Войти
/
redgpu
/
ezEngine
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
dev
Code/Engine/Foundation/IO/FileEnums.h
23 строки
846 B
Jan Krassnigg
FileSystem improvements
02 окт 2019, 12:28
02 окт 2019, 12:28
2f1c3bd
Код
Авторство
О чём код?
#pragma once /// \brief Selection specifying file lock behavior on open struct ezFileShareMode { enum Enum { Default, ///< Results in 'Exclusive' when requesting write access and 'SharedReads' when requesting read access. See ezFileOpenMode::Enum. Exclusive, ///< No other process is allowed to access the file for reading or writing, while it is open SharedReads, ///< Other processes may read the file concurrently }; }; /// \brief For file seek operations this enum defines from which relative position the seek position is described. struct ezFileSeekMode { enum Enum { FromStart, ///< The seek position is relative to the file's beginning FromEnd, ///< The seek position is relative to the file's end FromCurrent, ///< The seek position is relative to the file's current seek position }; };