Module |
|
Header |
/Engine/Plugins/Developer/Concert/ConcertSync/ConcertSyncCore/Source/ConcertSyncCore/Public/ConcertDataStoreMessages.h |
Include |
#include "ConcertDataStoreMessages.h" |
template<typename T>
class TConcertDataStoreResult
Wraps the weakly typed result of a Concert data store operation into a strongly typed result. Type checking occurs during the transaction with the store and as long as the result is valid, the stored value can be read safely.
Name | Description | |
---|---|---|
|
TConcertDataStoreResult() |
Constructs a result containing the EConcertDataStoreResultCode::UnexpectedError code and no value. |
|
TConcertDataStoreResult ( |
Constructs a strongly typed result from a weakly typed one. |
|
TConcertDataStoreResult ( |
Constructs a strongly typed result from a weakly typed one. |
Name | Description | ||
---|---|---|---|
|
EConcertData... |
GetCode() |
Returns the data store result code for the operation. |
|
T |
GetValue() |
Deserializes the stored value into type T. |
|
IsValid() |
Returns true if the underlying value is valid. |
Name | Description | ||
---|---|---|---|
|
operator bool() |
Returns true if the result hold a value that the value can be read. |