test
Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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
IOFlags
5
{
7
enum
OpenMode
8
{
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
42
#endif // STORAGE_FACTORY_IO_FLAGS_H
IOFlags::OpenCreate
Definition:
IOFlags.h:26
IOFlags::OpenUnbuffered
Definition:
IOFlags.h:22
IOFlags::OpenWrite
Definition:
IOFlags.h:10
IOFlags::OpenExclusive
Definition:
IOFlags.h:27
IOFlags::OpenAppend
Definition:
IOFlags.h:20
IOFlags::OpenMode
OpenMode
File open mode flags.
Definition:
IOFlags.h:7
IOFlags::OpenRead
Definition:
IOFlags.h:9
IOFlags::OpenNonBlock
Definition:
IOFlags.h:11
IOFlags::OpenNotCTTY
Definition:
IOFlags.h:32
IOFlags::OpenTruncate
Definition:
IOFlags.h:30
IOFlags::OpenWrap
Definition:
IOFlags.h:37
Generated for CMSSW Reference Manual by
1.8.5