#include <LayerResult.h>
Public Member Functions | |
LayerResult (LayerResultStatus resultStatus, QString resultMessage) | |
bool | IsSuccess () const |
void | MessageResult () |
Static Public Member Functions | |
static LayerResult | CreateSuccess () |
Public Attributes | |
LayerResultStatus | m_result = LayerResultStatus::Success |
QString | m_message |
Holds the status of a layer operation, and a message detailing that status when not a success.
|
inlinestatic |
A helper function to make it obvious at callsites that a success is intended.
|
inline |
Returns true if this LayerResult was a success, false if not.
void AzToolsFramework::Layers::LayerResult::MessageResult | ( | ) |
If a failure occured, outputs the current failure to the appropriate system. On success, does nothing.