/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
FWStorage/StorageFactory/interface/IOFlags.h
42 строки
2 KB
Chris Jones
Move Utilities/StorageFactory to FWStorage/StorageFactory
10 дек 2025, 18:12
10 дек 2025, 18:12
852ff34
Код
Авторство
О чём код?
#ifndef STORAGE_FACTORY_IO_FLAGS_H #define STORAGE_FACTORY_IO_FLAGS_H namespace edm::storage { namespace IOFlags { /// File open mode flags. enum OpenMode { OpenRead = 1, /*< Open for read access. */ OpenWrite = 2, /*< Open for write access. */ OpenNonBlock = 4, /*< Open in non-blocking mode. Neither the #open() nor any subsequent operation on the returned descriptor cause the process to wait. Applied to opening a named pipe (a FIFO) allows the pipe to be opened without waiting for the other end to be connected. */ OpenAppend = 8, /*< Writes to the file should always append to the end of the file. */ OpenUnbuffered = 16, /*< No write caching should be done on this file; may result in blocking the process until the data has actually been written. */ OpenCreate = 32, /*< Create the file if it does not exist. */ OpenExclusive = 64, /*< With #ModeCreate specifies that the creation should fali if the file exists. */ OpenTruncate = 128, /*< If the file exists, truncate it to zero size. */ OpenNotCTTY = 256, /*< If the specified file is a terminal device, do not make it the controlling terminal for the process even if the process does not have one yet. */ OpenWrap = 512 /*< Wrap the file if at all possible with a local file. */ }; } // namespace IOFlags } // namespace edm::storage #endif // STORAGE_FACTORY_IO_FLAGS_H