Skip to content

Core::SetValueResult

#include "Core/Nodes/Node.h"

Public Types

Name
enum classStatus { Ok = 0, Err_ConstraintViolation, Err_LogicError}

Public Functions

Name
SetValueResult() =default
SetValueResult(Status aStatus, std::string aMessage ="")

Public Attributes

Name
std::stringmessage
Statusstatus

Public Types Documentation

enum Status

EnumeratorValueDescription
Ok0
Err_ConstraintViolation
Err_LogicError

Public Functions Documentation

function SetValueResult

cpp
SetValueResult() =default
SetValueResult() =default

function SetValueResult

cpp
inline SetValueResult(
    Status aStatus,
    std::string aMessage =""
)
inline SetValueResult(
    Status aStatus,
    std::string aMessage =""
)

Public Attributes Documentation

variable message

cpp
std::string message;
std::string message;

variable status

cpp
Status status = Status::Ok;
Status status = Status::Ok;

Updated on 2024-11-06 at 20:16:54 +0000