v1.3.0.0
WASimCommander::CLI::Enums Namespace Reference

WASimCommander::CLI::Enums namespace. C++/CLI specific definitions only. See documentation for WASimCommander::Enums and WASimCommander::Client namespaces for main API and Client enum classes respectively. More...

Enumerations

enum class  HR {
  OK = S_OK ,
  FAIL = E_FAIL ,
  INVALIDARG = E_INVALIDARG ,
  NOT_CONNECTED = int( 2250L | ( 7 << 16) | 0x80000000) ,
  TIMEOUT = int( 1460L | ( 7 << 16) | 0x80000000)
}
 Method return status values; HRESULT "alias" More...
 

Functions

template<typename T , std::enable_if_t< std::is_enum< T >::value, bool > = true>
constexpr auto operator+ (T e) noexcept
 Custom "+" operator for strong C++ enum types to cast to underlying type. More...
 

Detailed Description

WASimCommander::CLI::Enums namespace. C++/CLI specific definitions only. See documentation for WASimCommander::Enums and WASimCommander::Client namespaces for main API and Client enum classes respectively.

Enumeration Type Documentation

◆ HR

enum class WASimCommander::CLI::Enums::HR
strong

Method return status values; HRESULT "alias"

Enumerator
OK 

Success status.

FAIL 

General error status,.

INVALIDARG 

Invalid method argument.

NOT_CONNECTED 

Error result: server not connected.

TIMEOUT 

Error result: timeout communicating with server.

Definition at line 49 of file Enums.h.

Function Documentation

◆ operator+()

template<typename T , std::enable_if_t< std::is_enum< T >::value, bool > = true>
constexpr auto WASimCommander::CLI::Enums::operator+ ( e)
constexprnoexcept

Custom "+" operator for strong C++ enum types to cast to underlying type.

Definition at line 46 of file Enums.h.