DASH  0.3.0
dash::io Namespace Reference

Specification of the DASH Container IO interfaces. More...

Classes

class  IOSBase
 Base type for device-specific IO streams. More...
 
class  IOStreamMode
 Type facade wrapping dash::io::IOSBaseMode and its device-dependent specializations. More...
 

Enumerations

enum  IOSBaseMode : uint32_t {
  no_flags = 0, IOSBaseMode::app = 1 << 0, IOSBaseMode::ate = 1 << 1, IOSBaseMode::binary = 1 << 2,
  IOSBaseMode::in = 1 << 3, IOSBaseMode::out = 1 << 4, IOSBaseMode::trunk = 1 << 5
}
 Modes defined for all parallel IO devices. More...
 

Detailed Description

Specification of the DASH Container IO interfaces.

Enumeration Type Documentation

◆ IOSBaseMode

enum dash::io::IOSBaseMode : uint32_t
strong

Modes defined for all parallel IO devices.

Implemented concept:
DashIOConcept
Enumerator
app 

Append: set the stream position to the end of the stream before output operations.

ate 

At End: set the stream position to the end of the stream on open.

binary 

Binary: Consider stream as raw data.

in 

Allow input operations on the stream.

out 

Allow output operations on the stream.

trunk 

Truncate: discard content of the stream on open.

Definition at line 16 of file IOStream.h.

16  : uint32_t
17 {
18  no_flags = 0,
21  app = 1 << 0,
23  ate = 1 << 1,
25  binary = 1 << 2,
27  in = 1 << 3,
29  out = 1 << 4,
31  trunk = 1 << 5
32 }; // class IOStream
Append: set the stream position to the end of the stream before output operations.
Allow output operations on the stream.
At End: set the stream position to the end of the stream on open.
Truncate: discard content of the stream on open.
Allow input operations on the stream.
Binary: Consider stream as raw data.