Unravel Engine C++ Reference
Loading...
Searching...
No Matches
unravel::inspect_result Struct Reference

Result of an inspection operation indicating what changes occurred. More...

#include <inspector.h>

Public Member Functions

auto operator|= (const inspect_result &rhs) -> inspect_result &
 Combines this result with another using logical OR.
 
auto operator| (const inspect_result &rhs) const -> inspect_result
 Creates new result by combining two results with logical OR.
 

Public Attributes

bool changed {}
 Whether the value was modified during inspection.
 
bool edit_finished {}
 Whether user finished editing (e.g., released mouse or pressed enter)
 
bool change_recorded {}
 Whether the change was recorded for undo/redo system.
 

Detailed Description

Result of an inspection operation indicating what changes occurred.

Definition at line 163 of file inspector.h.

Member Function Documentation

◆ operator|()

auto unravel::inspect_result::operator| ( const inspect_result & rhs) const -> inspect_result
inline

Creates new result by combining two results with logical OR.

Parameters
rhsOther result to combine with
Returns
New combined result

Definition at line 190 of file inspector.h.

◆ operator|=()

auto unravel::inspect_result::operator|= ( const inspect_result & rhs) -> inspect_result&
inline

Combines this result with another using logical OR.

Parameters
rhsOther result to combine with
Returns
Reference to this result after combination

Definition at line 177 of file inspector.h.

Member Data Documentation

◆ change_recorded

bool unravel::inspect_result::change_recorded {}

Whether the change was recorded for undo/redo system.

Definition at line 170 of file inspector.h.

◆ changed

bool unravel::inspect_result::changed {}

Whether the value was modified during inspection.

Definition at line 166 of file inspector.h.

◆ edit_finished

bool unravel::inspect_result::edit_finished {}

Whether user finished editing (e.g., released mouse or pressed enter)

Definition at line 168 of file inspector.h.


The documentation for this struct was generated from the following file: