#include <JsonSerializationResult.h>
Public Member Functions | |
ResultCode (Tasks task) | |
ResultCode (Tasks task, Outcomes result) | |
bool | HasDoneWork () const |
ResultCode & | Combine (ResultCode other) |
ResultCode & | Combine (const Result &other) |
Tasks | GetTask () const |
Processing | GetProcessing () const |
Outcomes | GetOutcome () const |
void | AppendToString (AZ::OSString &output, AZStd::string_view path) const |
void | AppendToString (AZStd::string &output, AZStd::string_view path) const |
AZStd::string | ToString (AZStd::string_view path) const |
AZ::OSString | ToOSString (AZStd::string_view path) const |
Static Public Member Functions | |
static ResultCode | Combine (ResultCode lhs, ResultCode rhs) |
A lightweight result returned by all major functions in the Json Serialization. This is essentially a 32 bit integer but with additional functionality to be more descriptive than a standard integer result code.
void AZ::JsonSerializationResult::ResultCode::AppendToString | ( | AZ::OSString & | output, |
AZStd::string_view | path | ||
) | const |
Append the provided string with a description of the result code. @output The string to append to. @path Path to the value/field/type that resulted in this result code.
void AZ::JsonSerializationResult::ResultCode::AppendToString | ( | AZStd::string & | output, |
AZStd::string_view | path | ||
) | const |
Append the provided string with a description of the result code. @output The string to append to. @path Path to the value/field/type that resulted in this result code.
AZ::OSString AZ::JsonSerializationResult::ResultCode::ToOSString | ( | AZStd::string_view | path | ) | const |
Creates a string with the description of the results code. @path Path to the value/field/type that resulted in this result code.
AZStd::string AZ::JsonSerializationResult::ResultCode::ToString | ( | AZStd::string_view | path | ) | const |
Creates a string with the description of the results code. @path Path to the value/field/type that resulted in this result code.