AFIO  v2.00 late alpha
afio_v2_xxx::native_handle_type::disposition_base Struct Reference

The type of handle. More...

#include "native_handle_type.hpp"

Public Types

enum  enum_type : unsigned {
  invalid = 0, readable = 1 << 0, writable = 1 << 1, append_only = 1 << 2,
  overlapped = 1 << 4, seekable = 1 << 5, aligned_io = 1 << 6, file = 1 << 8,
  directory = 1 << 9, symlink = 1 << 10, multiplexer = 1 << 11, process = 1 << 12,
  section = 1 << 13
}
 

Detailed Description

The type of handle.

Member Enumeration Documentation

◆ enum_type

Enumerator
invalid 

Invalid handle.

readable 

Is readable.

writable 

Is writable.

append_only 

Is append only.

overlapped 

Requires additional synchronisation.

seekable 

Is seekable.

aligned_io 

Requires sector aligned i/o (typically 512 or 4096)

file 

Is a regular file.

directory 

Is a directory.

symlink 

Is a symlink.

multiplexer 

Is a kqueue/epoll/iocp.

process 

Is a child process.

section 

Is a memory section.

45  {
46  invalid = 0, //!< Invalid handle
47 
48  readable = 1 << 0, //!< Is readable
49  writable = 1 << 1, //!< Is writable
50  append_only = 1 << 2, //!< Is append only
51 
52  overlapped = 1 << 4, //!< Requires additional synchronisation
53  seekable = 1 << 5, //!< Is seekable
54  aligned_io = 1 << 6, //!< Requires sector aligned i/o (typically 512 or 4096)
55 
56  file = 1 << 8, //!< Is a regular file
57  directory = 1 << 9, //!< Is a directory
58  symlink = 1 << 10, //!< Is a symlink
59  multiplexer = 1 << 11, //!< Is a kqueue/epoll/iocp
60  process = 1 << 12, //!< Is a child process
61  section = 1 << 13 //!< Is a memory section
62  }
Is a kqueue/epoll/iocp.
Definition: native_handle_type.hpp:59
Is a directory.
Definition: native_handle_type.hpp:57
Is seekable.
Definition: native_handle_type.hpp:53
Is readable.
Definition: native_handle_type.hpp:48
Is a memory section.
Definition: native_handle_type.hpp:61
Is a child process.
Definition: native_handle_type.hpp:60
Is a regular file.
Definition: native_handle_type.hpp:56
Requires additional synchronisation.
Definition: native_handle_type.hpp:52
Is append only.
Definition: native_handle_type.hpp:50
Is writable.
Definition: native_handle_type.hpp:49
Is a symlink.
Definition: native_handle_type.hpp:58
Invalid handle.
Definition: native_handle_type.hpp:46
Requires sector aligned i/o (typically 512 or 4096)
Definition: native_handle_type.hpp:54

The documentation for this struct was generated from the following file: