Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
TValueOrError< void, void > Class Reference

#include <ValueOrError.h>

Public Member Functions

 TValueOrError (TValueOrError_ValueProxy<> &&Proxy)
 
 TValueOrError (TValueOrError_ErrorProxy<> &&Proxy)
 
bool HasError () const
 
bool HasValue () const
 

Private Attributes

bool bValue
 

Detailed Description

Definition at line 250 of file ValueOrError.h.

Constructor & Destructor Documentation

◆ TValueOrError() [1/2]

Construct the value from a proxy from MakeValue.

Definition at line 254 of file ValueOrError.h.

◆ TValueOrError() [2/2]

Construct the error from a proxy from MakeError.

Definition at line 260 of file ValueOrError.h.

Member Function Documentation

◆ HasError()

bool TValueOrError< void, void >::HasError ( ) const
inline

Whether the error is set. An error does imply no value.

Definition at line 266 of file ValueOrError.h.

◆ HasValue()

bool TValueOrError< void, void >::HasValue ( ) const
inline

Whether the value is set. A value does imply no error.

Definition at line 269 of file ValueOrError.h.

Member Data Documentation

◆ bValue

bool TValueOrError< void, void >::bValue
private

Definition at line 272 of file ValueOrError.h.


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