Ark Server API (ASA) - Wiki
|
#include <Optional.h>
Public Types | |
using | ElementType = OptionalType |
Public Member Functions | |
TOptional (const OptionalType &InValue) | |
TOptional (OptionalType &&InValue) | |
template<typename... ArgTypes> | |
TOptional (EInPlace, ArgTypes &&... Args) | |
TOptional (FNullOpt) | |
TOptional () | |
~TOptional () | |
TOptional (const TOptional &InValue) | |
TOptional (TOptional &&InValue) | |
TOptional & | operator= (const TOptional &InValue) |
TOptional & | operator= (TOptional &&InValue) |
TOptional & | operator= (const OptionalType &InValue) |
TOptional & | operator= (OptionalType &&InValue) |
void | Reset () |
template<typename... ArgsType> | |
OptionalType & | Emplace (ArgsType &&... Args) |
void | Serialize (FArchive &Ar) |
bool | IsSet () const |
FORCEINLINE | operator bool () const |
const OptionalType & | GetValue () const |
OptionalType & | GetValue () |
const OptionalType * | operator-> () const |
OptionalType * | operator-> () |
const OptionalType & | operator* () const |
OptionalType & | operator* () |
const OptionalType & | Get (const OptionalType &DefaultValue) const |
OptionalType * | GetPtrOrNull () |
const OptionalType * | GetPtrOrNull () const |
Private Attributes | |
TTypeCompatibleBytes< OptionalType > | Value |
bool | bIsSet |
Friends | |
bool | operator== (const TOptional &lhs, const TOptional &rhs) |
bool | operator!= (const TOptional &lhs, const TOptional &rhs) |
When we have an optional value IsSet() returns true, and GetValue() is meaningful. Otherwise GetValue() is not meaningful.
Definition at line 19 of file Optional.h.
using TOptional< OptionalType >::ElementType = OptionalType |
Definition at line 22 of file Optional.h.
|
inline |
Construct an OptionalType with a valid value.
Definition at line 25 of file Optional.h.
|
inline |
Definition at line 30 of file Optional.h.
|
inlineexplicit |
Definition at line 36 of file Optional.h.
|
inline |
Construct an OptionalType with an invalid value.
Definition at line 43 of file Optional.h.
|
inline |
Construct an OptionalType with no value; i.e. unset
Definition at line 49 of file Optional.h.
|
inline |
Definition at line 54 of file Optional.h.
|
inline |
Copy/Move construction
Definition at line 60 of file Optional.h.
|
inline |
Definition at line 69 of file Optional.h.
|
inline |
Definition at line 140 of file Optional.h.
|
inline |
Definition at line 209 of file Optional.h.
|
inline |
Definition at line 212 of file Optional.h.
|
inline |
Definition at line 213 of file Optional.h.
|
inline |
Definition at line 200 of file Optional.h.
|
inline |
Definition at line 199 of file Optional.h.
|
inline |
Definition at line 195 of file Optional.h.
|
inlineexplicit |
Definition at line 196 of file Optional.h.
|
inline |
Definition at line 206 of file Optional.h.
|
inline |
Definition at line 205 of file Optional.h.
|
inline |
Definition at line 203 of file Optional.h.
|
inline |
Definition at line 202 of file Optional.h.
|
inline |
Definition at line 106 of file Optional.h.
|
inline |
Definition at line 79 of file Optional.h.
|
inline |
Definition at line 116 of file Optional.h.
|
inline |
Definition at line 92 of file Optional.h.
|
inline |
Definition at line 127 of file Optional.h.
|
inline |
Definition at line 166 of file Optional.h.
|
friend |
Definition at line 161 of file Optional.h.
|
friend |
Definition at line 148 of file Optional.h.
|
private |
Definition at line 217 of file Optional.h.
|
private |
Definition at line 216 of file Optional.h.