xtd 0.2.0
select_mode.h
Go to the documentation of this file.
1 #pragma once
5 #include "../../enum.h"
6 
8 #undef unix
9 
12 namespace xtd {
14  namespace net {
16  namespace sockets {
29  enum class select_mode {
31  select_read = 0,
33  select_write = 1,
35  select_error = 2
36  };
37  }
38  }
39 }
40 
42 template<> struct xtd::enum_register<xtd::net::sockets::select_mode> {
44 };
The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
Definition: system_report.h:17
std::vector< std::pair< enum_t, xtd::ustring > > enum_collection
Represents a pair of an enum_t value and a string of an enum of type enum_t.
Definition: enum_collection.h:19
select_mode
Defines the polling modes for the xtd::net::sockets::socket::poll method.
Definition: select_mode.h:29
Provides the registration struct for enumerations.
Definition: enum_register.h:36