Utilities
StorageFactory
interface
IOFlags.h
Go to the documentation of this file.
1
#ifndef STORAGE_FACTORY_IO_FLAGS_H
2
#define STORAGE_FACTORY_IO_FLAGS_H
3
4
namespace
edm::storage
{
5
6
namespace
IOFlags {
8
enum
OpenMode
{
9
OpenRead
= 1,
/*< Open for read access. */
10
OpenWrite
= 2,
/*< Open for write access. */
11
OpenNonBlock
= 4,
/*< Open in non-blocking mode.
12
Neither the #open() nor any
13
subsequent operation on the
14
returned descriptor cause the
15
process to wait. Applied to
16
opening a named pipe (a FIFO)
17
allows the pipe to be opened
18
without waiting for the other end
19
to be connected. */
20
OpenAppend
= 8,
/*< Writes to the file should always
21
append to the end of the file. */
22
OpenUnbuffered
= 16,
/*< No write caching should be done on
23
this file; may result in blocking
24
the process until the data has
25
actually been written. */
26
OpenCreate
= 32,
/*< Create the file if it does not exist. */
27
OpenExclusive
= 64,
/*< With #ModeCreate specifies that
28
the creation should fali if the
29
file exists. */
30
OpenTruncate
= 128,
/*< If the file exists, truncate it to
31
zero size. */
32
OpenNotCTTY
= 256,
/*< If the specified file is a
33
terminal device, do not make it
34
the controlling terminal for the
35
process even if the process does
36
not have one yet. */
37
OpenWrap
= 512
/*< Wrap the file if at all possible
38
with a local file. */
39
};
40
}
// namespace IOFlags
41
}
// namespace edm::storage
42
#endif // STORAGE_FACTORY_IO_FLAGS_H
edm::storage::IOFlags::OpenUnbuffered
Definition:
IOFlags.h:22
edm::storage::IOFlags::OpenWrite
Definition:
IOFlags.h:10
edm::storage::IOFlags::OpenAppend
Definition:
IOFlags.h:20
edm::storage::IOFlags::OpenWrap
Definition:
IOFlags.h:37
edm::storage::IOFlags::OpenNotCTTY
Definition:
IOFlags.h:32
edm::storage::IOFlags::OpenMode
OpenMode
File open mode flags.
Definition:
IOFlags.h:8
edm::storage::IOFlags::OpenExclusive
Definition:
IOFlags.h:27
edm::storage::IOFlags::OpenCreate
Definition:
IOFlags.h:26
edm::storage::IOFlags::OpenRead
Definition:
IOFlags.h:9
edm::storage
Definition:
XMLUtils.h:19
edm::storage::IOFlags::OpenNonBlock
Definition:
IOFlags.h:11
edm::storage::IOFlags::OpenTruncate
Definition:
IOFlags.h:30
Generated for CMSSW Reference Manual by
1.8.14