| 
    open62541pp 0.19.0
    
   C++ wrapper of open62541 
   | 
 
#include <result.hpp>
Template specialization of Result class for void types. 
Result<void> contains only a StatusCode.
Definition at line 342 of file result.hpp.
Public Member Functions | |
| constexpr | Result () noexcept | 
| constexpr | Result (StatusCode code) noexcept | 
| constexpr | Result (const BadResult &error) noexcept | 
| constexpr void | operator* () const noexcept | 
| constexpr StatusCode | code () const noexcept | 
| constexpr | operator bool () const noexcept | 
| constexpr bool | hasValue () const noexcept | 
| constexpr void | value () const | 
      
  | 
  inlineconstexprnoexcept | 
Create a default Result (good StatusCode).
Definition at line 347 of file result.hpp.
      
  | 
  inlineconstexprnoexcept | 
Create a Result with the given StatusCode.
Definition at line 353 of file result.hpp.
      
  | 
  inlineconstexprnoexcept | 
Create a Result with the given error.
Definition at line 359 of file result.hpp.
      
  | 
  inlineconstexprnoexcept | 
Get the code of the Result.
Definition at line 367 of file result.hpp.
      
  | 
  inlineconstexprnoexcept | 
Definition at line 381 of file result.hpp.
      
  | 
  inlineexplicitconstexprnoexcept | 
Check if the Result has a non-bad StatusCode.
Definition at line 374 of file result.hpp.
      
  | 
  inlineconstexprnoexcept | 
Definition at line 362 of file result.hpp.
      
  | 
  inlineconstexpr | 
Get the value of the Result.
| BadStatus | If the Result does have a bad StatusCode. | 
Definition at line 389 of file result.hpp.