28#ifdef WSMCMND_ENUM_EXPORT
29#undef WSMCMND_ENUM_EXPORT
30#undef WSMCMND_ENUM_NAMESPACE
34#define WSMCMND_ENUM_EXPORT public
35#define WSMCMND_ENUM_NAMESPACE WASimCommander::CLI::Enums
36#include "enums_impl.h"
37#include "client/enums_impl.h"
45 template <typename T, std::enable_if_t<std::is_enum<T>::value,
bool> =
true>
46 constexpr auto operator+(T e)
noexcept {
return static_cast<std::underlying_type_t<T>
>(e); }
55 TIMEOUT = int( 1460L | ( 7 << 16) | 0x80000000),
WASimCommander::CLI::Enums namespace. C++/CLI specific definitions only. See documentation for WASimC...
HR
Method return status values; HRESULT "alias"
@ TIMEOUT
Error result: timeout communicating with server.
@ INVALIDARG
Invalid method argument.
@ FAIL
General error status,.
@ NOT_CONNECTED
Error result: server not connected.
constexpr auto operator+(T e) noexcept
Custom "+" operator for strong C++ enum types to cast to underlying type.